|
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 const *buffer) |
| Test for a valid buffer. More... | |
| const char * | mir_buffer_get_error_message (MirBuffer const *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 const *buffer) |
| Retrieve the width of the buffer in pixels. More... | |
| unsigned int | mir_buffer_get_height (MirBuffer const *buffer) |
| Retrieve the height of the buffer in pixels. More... | |
| MirPixelFormat | mir_buffer_get_pixel_format (MirBuffer const *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-2020
Canonical Ltd.
Generated on Fri Apr 10 09:30:49 UTC 2020
This documentation is licensed under the GPL version 2 or 3.