summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_bindings.h')
-rw-r--r--ui/gfx/gl/gl_bindings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gfx/gl/gl_bindings.h b/ui/gfx/gl/gl_bindings.h
index 3615e88..8951225 100644
--- a/ui/gfx/gl/gl_bindings.h
+++ b/ui/gfx/gl/gl_bindings.h
@@ -65,6 +65,10 @@ typedef void* GLeglImageOES;
typedef HDC EGLNativeDisplayType;
typedef HBITMAP EGLNativePixmapType;
typedef HWND EGLNativeWindowType;
+#elif defined(OS_ANDROID)
+typedef void *EGLNativeDisplayType;
+typedef struct egl_native_pixmap_t *EGLNativePixmapType;
+typedef struct ANativeWindow *EGLNativeWindowType;
#elif defined(USE_WAYLAND)
typedef struct wl_display *EGLNativeDisplayType;
typedef struct wl_egl_pixmap *EGLNativePixmapType;