From a369f129ab2b845c229550cc7375e3c9955319c1 Mon Sep 17 00:00:00 2001 From: "rjkroege@chromium.org" Date: Thu, 23 May 2013 10:34:12 +0000 Subject: Added EGLNativeWindow etc. typedefs for ozone. BUG=178543 Review URL: https://chromiumcodereview.appspot.com/14757005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201734 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/khronos/EGL/eglplatform.h | 6 ++++++ third_party/khronos/README.chromium | 1 + 2 files changed, 7 insertions(+) (limited to 'third_party/khronos') 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. -- cgit v1.1