Mir
|
#include "mir_toolkit/mir_connection.h"
#include "mir_toolkit/mir_buffer.h"
#include "mir_toolkit/mir_extension_core.h"
Go to the source code of this file.
Classes | |
struct | MirExtensionAndroidBufferV1 |
Typedefs | |
typedef void(* | mir_connection_allocate_buffer_android) (MirConnection *connection, int width, int height, unsigned int hal_pixel_format, unsigned int gralloc_usage_flags, MirBufferCallback available_callback, void *available_context) |
Allocate a MirBuffer usable by the android platform. More... | |
typedef struct MirExtensionAndroidBufferV1 | MirExtensionAndroidBufferV1 |
typedef void(* mir_connection_allocate_buffer_android) (MirConnection *connection, int width, int height, unsigned int hal_pixel_format, unsigned int gralloc_usage_flags, MirBufferCallback available_callback, void *available_context) |
Allocate a MirBuffer usable by the android platform.
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] | hal_pixel_format | The pixel format, one of Android's HAL_PIXEL_FORMAT*s |
[in] | gralloc_usage_flags | The GRALLOC_USAGE* 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 MirExtensionAndroidBufferV1 MirExtensionAndroidBufferV1 |
Copyright © 2012-2016 Canonical Ltd.
Generated on Wed May 10 10:41:27 UTC 2017