Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: include/EGL/eglplatform.h

Issue 17452002: Adding typedefs for EGLNative*Type in eglplatform.h (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/mesa/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/EGL/eglplatform.h
===================================================================
--- include/EGL/eglplatform.h (revision 207200)
+++ include/EGL/eglplatform.h (working copy)
@@ -124,7 +124,20 @@
#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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698