From: Emil Velikov <emil.veli...@collabora.com>

---
XXX: This is the upstream/Khronos definition of it, although I'm not
perfectly sure if/how many users depend on it.

XXX: Worth folding with the original commit which introduces the EGL_USE
PLATFORM... lot ?
---
 include/EGL/eglplatform.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index bb8bb95..16765fb 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -76,6 +76,12 @@ typedef struct ANativeWindow*           EGLNativeWindowType;
 typedef struct egl_native_pixmap_t*     EGLNativePixmapType;
 typedef void*                           EGLNativeDisplayType;
 
+#elif defined(EGL_USE_PLATFORM_APPLE_KHR)
+
+typedef int   EGLNativeDisplayType;
+typedef void *EGLNativeWindowType;
+typedef void *EGLNativePixmapType;
+
 #elif defined(EGL_USE_PLATFORM_GBM_KHR) // XXX: Name GBM vs DRM vs other
 
 typedef struct gbm_device  *EGLNativeDisplayType;
-- 
2.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to