Go to the documentation of this file.
19 #ifndef MIR_CLIENT_EXTENSIONS_ANDROID_EGL_H_
20 #define MIR_CLIENT_EXTENSIONS_ANDROID_EGL_H_
32 struct ANativeWindowBuffer;
34 #pragma GCC diagnostic push
35 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36 typedef struct ANativeWindow* (*mir_extension_create_anw)(
39 unsigned int hal_pixel_format,
40 unsigned int gralloc_usage_flags);
41 #pragma GCC diagnostic pop
43 typedef struct ANativeWindowBuffer* (*mir_extension_create_anwb)(
MirBuffer*);
59 connection,
"mir_extension_android_egl", 1);
struct ANativeWindow *(* mir_extension_create_anw)(MirRenderSurface *rs, int width, int height, unsigned int hal_pixel_format, unsigned int gralloc_usage_flags)
Definition: android_egl.h:36
struct MirExtensionAndroidEGLV1 MirExtensionAndroidEGLV1
void const * mir_connection_request_extension(MirConnection *connection, char const *interface, int version)
Request a Mir extension.
mir_extension_destroy_anw destroy_window
Definition: android_egl.h:50
void *(* mir_extension_to_native_display_type)(MirConnection *)
Definition: android_egl.h:33
mir_extension_create_anw create_window
Definition: android_egl.h:49
int height
Definition: client_types.h:179
mir_extension_to_native_display_type to_display
Definition: android_egl.h:48
mir_extension_create_anwb create_buffer
Definition: android_egl.h:51
void(* mir_extension_destroy_anwb)(struct ANativeWindowBuffer *)
Definition: android_egl.h:44
void(* mir_extension_destroy_anw)(struct ANativeWindow *)
Definition: android_egl.h:42
mir_extension_destroy_anwb destroy_buffer
Definition: android_egl.h:52
Definition: android_egl.h:46
struct ANativeWindowBuffer *(* mir_extension_create_anwb)(MirBuffer *)
Definition: android_egl.h:43
int width
Definition: client_types.h:178
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.