summaryrefslogtreecommitdiffstats
path: root/third_party/khronos/GLES2/gl2platform.h
diff options
context:
space:
mode:
authorskyostil@google.com <skyostil@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 17:26:19 +0000
committerskyostil@google.com <skyostil@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 17:26:19 +0000
commit8fcd0ee58318edc4e96732ba87426f9c356abbf0 (patch)
tree258024dc374c4b60d77953115792d937718fbf22 /third_party/khronos/GLES2/gl2platform.h
parent8ea26c2868aa05a80b9f7fe6b39d9bd74ca9b46e (diff)
downloadchromium_src-8fcd0ee58318edc4e96732ba87426f9c356abbf0.zip
chromium_src-8fcd0ee58318edc4e96732ba87426f9c356abbf0.tar.gz
chromium_src-8fcd0ee58318edc4e96732ba87426f9c356abbf0.tar.bz2
Move GL headers from gpu to third_party/khronos
This change moves the OpenGL ES and EGL header files from gpu/ to a new third_party/khronos/ directory. The headers are also rebased to the latest upstream versions. BUG=102824 TEST=none Review URL: http://codereview.chromium.org/8423038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/khronos/GLES2/gl2platform.h')
-rw-r--r--third_party/khronos/GLES2/gl2platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/khronos/GLES2/gl2platform.h b/third_party/khronos/GLES2/gl2platform.h
new file mode 100644
index 0000000..c9fa3c4
--- /dev/null
+++ b/third_party/khronos/GLES2/gl2platform.h
@@ -0,0 +1,30 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -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
+ *
+ * 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
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl2platform_h_ */