diff options
author | mymax@amazon.com <mymax@amazon.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-19 20:13:16 +0000 |
---|---|---|
committer | mymax@amazon.com <mymax@amazon.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-19 20:13:16 +0000 |
commit | 9511fddfee83830f3c0479b5dde791e87cecd9bd (patch) | |
tree | adb9aac4e4270f9ade1951673bcec79353674724 | |
parent | 3f53ae5cba1ea56b8c4ff93770503d3fcdaecacd (diff) | |
download | src-9511fddfee83830f3c0479b5dde791e87cecd9bd.tar.gz |
Adding typedefs for EGLNative*Type in eglplatform.h
BUG=238755
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/17452002
git-svn-id: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa@207256 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | include/EGL/eglplatform.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 17fdc61..28455fb 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -124,6 +124,19 @@ typedef Window EGLNativeWindowType; #endif /* MESA_EGL_NO_X11_HEADERS */ +#elif defined(__APPLE__) + +// TODO(gman): these are place holders. +typedef void *EGLNativeDisplayType; +typedef int EGLNativePixmapType; +#ifdef __OBJC__ +@class NSView; +typedef NSView *EGLNativeWindowType; +#else +struct NSView; +typedef struct NSView *EGLNativeWindowType; +#endif // __OBJC__ + #else #error "Platform not recognized" #endif |