egl: add Ozone section to eglplatform.h
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 16 Mar 2018 14:14:48 +0000 (14:14 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Wed, 21 Mar 2018 14:28:05 +0000 (14:28 +0000)
This pulls in commit a93f559e9c11fa53fb5f1cc255b8f75433f85d2a "Add Ozone
section to eglplatform.h" from Khronos [1] added by Brian Anderson [2]
a few months ago.

[1] https://github.com/KhronosGroup/EGL-Registry/commit/a93f559e9c11fa53fb5f1cc255b8f75433f85d2a
[2] https://github.com/KhronosGroup/EGL-Registry/pull/26

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
include/EGL/eglplatform.h

index bf9ec0bf5f4fbf7105cdf45c437f69d166329b24..8a78a9eaddd2f47ff2c00d8c851de4d0ec10684b 100644 (file)
@@ -104,6 +104,12 @@ typedef struct ANativeWindow*           EGLNativeWindowType;
 typedef struct egl_native_pixmap_t*     EGLNativePixmapType;
 typedef void*                           EGLNativeDisplayType;
 
+#elif defined(USE_OZONE)
+
+typedef intptr_t EGLNativeDisplayType;
+typedef intptr_t EGLNativeWindowType;
+typedef intptr_t EGLNativePixmapType;
+
 #elif defined(__unix__) || defined(__APPLE__)
 
 #if defined(MESA_EGL_NO_X11_HEADERS)