|
Mir
|
#include <stdbool.h>#include <mir_toolkit/client_types.h>#include <mir_toolkit/mir_native_buffer.h>Go to the source code of this file.
Functions | |
| void | mir_connection_allocate_buffer (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferCallback available_callback, void *available_context) |
| Allocate a MirBuffer and do not wait for the server to return it. More... | |
| MirBuffer * | mir_connection_allocate_buffer_sync (MirConnection *connection, int width, int height, MirPixelFormat format) |
| Allocate a MirBuffer and wait for the server to return it. More... | |
| bool | mir_buffer_is_valid (MirBuffer *buffer) |
| Test for a valid buffer. More... | |
| char const * | mir_buffer_get_error_message (MirBuffer *buffer) |
| Retrieve a text description an error associated with a MirBuffer. More... | |
| MirBufferPackage * | mir_buffer_get_buffer_package (MirBuffer *buffer) |
| Access the MirBufferPackage. More... | |
| bool | mir_buffer_map (MirBuffer *buffer, MirGraphicsRegion *region, MirBufferLayout *layout) |
| Access a CPU-mapped region associated with a given buffer. More... | |
| void | mir_buffer_unmap (MirBuffer *buffer) |
| Flush the CPU caches for the buffer. More... | |
| unsigned int | mir_buffer_get_width (MirBuffer *buffer) |
| Retrieve the width of the buffer in pixels. More... | |
| unsigned int | mir_buffer_get_height (MirBuffer *buffer) |
| Retrieve the height of the buffer in pixels. More... | |
| MirPixelFormat | mir_buffer_get_pixel_format (MirBuffer *buffer) |
| Retrieve the pixel format of the buffer. More... | |
| void | mir_buffer_release (MirBuffer *buffer) |
| release a MirBuffer More... | |
| void mir_buffer_release | ( | MirBuffer * | buffer | ) |
release a MirBuffer
| [in] | buffer | The buffer to be released |
Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017