|
Mir
|
#include "mir_toolkit/mir_connection.h"#include "mir_toolkit/mir_extension_core.h"#include "mir_toolkit/mir_buffer.h"Go to the source code of this file.
Classes | |
| struct | MirExtensionGbmBufferV1 |
Typedefs | |
| typedef void(* | mir_connection_allocate_buffer_gbm) (MirConnection *connection, int width, int height, unsigned int gbm_pixel_format, unsigned int gbm_bo_flags, MirBufferCallback available_callback, void *available_context) |
| Allocate a MirBuffer via gbm. More... | |
| typedef struct MirExtensionGbmBufferV1 | MirExtensionGbmBufferV1 |
| typedef void(* mir_connection_allocate_buffer_gbm) (MirConnection *connection, int width, int height, unsigned int gbm_pixel_format, unsigned int gbm_bo_flags, MirBufferCallback available_callback, void *available_context) |
Allocate a MirBuffer via gbm.
The callback will be called when the buffer is available for use. It will be called once when created, and once per every mir_presentation_chain_submit_buffer.
The buffer can be destroyed via mir_buffer_release().
| [in] | connection | The connection |
| [in] | width | Requested buffer width |
| [in] | height | Requested buffer height |
| [in] | gbm_pixel_format | The pixel format, one of the GBM_FORMATs |
| [in] | gbm_bo_flags | The gbm_bo_flags for the buffer. |
| [in] | available_callback | The callback called when the buffer is available |
| [in] | available_context | The context for the available_callback |
| typedef struct MirExtensionGbmBufferV1 MirExtensionGbmBufferV1 |
Copyright © 2012-2016 Canonical Ltd.
Generated on Thu Feb 9 21:49:33 UTC 2017