summaryrefslogtreecommitdiffstats
path: root/third_party/khronos
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/khronos')
-rw-r--r--third_party/khronos/EGL/eglplatform.h6
-rw-r--r--third_party/khronos/README.chromium1
2 files changed, 7 insertions, 0 deletions
diff --git a/third_party/khronos/EGL/eglplatform.h b/third_party/khronos/EGL/eglplatform.h
index 34c6e61..c7d3d7b 100644
--- a/third_party/khronos/EGL/eglplatform.h
+++ b/third_party/khronos/EGL/eglplatform.h
@@ -94,6 +94,12 @@ typedef struct ANativeWindow* EGLNativeWindowType;
typedef struct egl_native_pixmap_t* EGLNativePixmapType;
typedef void* EGLNativeDisplayType;
+#elif defined(USE_OZONE)
+
+typedef int EGLNativeDisplayType;
+typedef intptr_t EGLNativeWindowType;
+typedef intptr_t EGLNativePixmapType;
+
#elif defined(__unix__)
/* X11 (tentative) */
diff --git a/third_party/khronos/README.chromium b/third_party/khronos/README.chromium
index da2e6c5..52d3387 100644
--- a/third_party/khronos/README.chromium
+++ b/third_party/khronos/README.chromium
@@ -26,5 +26,6 @@ GLES2/gl2ext.h
- Added include of gl2chromium.h
EGL/eglplatform.h
- Added EGLNative*Type for Mac.
+ - Added EGLNative*Type for native linux framebuffers.
DEPS
- Added DEPS file to prevent inclusion of external dependencies.