summaryrefslogtreecommitdiffstats
path: root/opengl/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-27 20:38:06 -0700
committerMathias Agopian <mathias@google.com>2009-05-27 20:38:06 -0700
commitb1a39d67be99fe6c4545b25e10ac82a5dd1df634 (patch)
tree9c5107e1af357dc5e734287df0661a36642a4761 /opengl/include
parenta3d66a834f7e6796003684652d8aef13fa6345cd (diff)
downloadframeworks_native-b1a39d67be99fe6c4545b25e10ac82a5dd1df634.zip
frameworks_native-b1a39d67be99fe6c4545b25e10ac82a5dd1df634.tar.gz
frameworks_native-b1a39d67be99fe6c4545b25e10ac82a5dd1df634.tar.bz2
Added most of the support needed for GLES 2.x
Diffstat (limited to 'opengl/include')
-rw-r--r--opengl/include/GLES2/gl2platform.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/opengl/include/GLES2/gl2platform.h b/opengl/include/GLES2/gl2platform.h
new file mode 100644
index 0000000..3e9036c
--- /dev/null
+++ b/opengl/include/GLES2/gl2platform.h
@@ -0,0 +1,29 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 7173 $ on $Date:: 2009-01-09 11:18:21 -0800 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
+ * Last modified on 2008/12/19
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file. Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "Registry".
+ */
+
+#include <KHR/khrplatform.h>
+
+#ifndef GL_APICALL
+#define GL_APICALL KHRONOS_APICALL
+#endif
+
+#define GL_APIENTRY KHRONOS_APIENTRY
+
+#endif /* __gl2platform_h_ */