[INTERNAL] Added gl3 headers in include
authorHaegeun Park <haegeun.park@samsung.com>
Thu, 14 Nov 2013 04:46:01 +0000 (20:46 -0800)
committerHaegeun Park <haegeun.park@samsung.com>
Wed, 20 Nov 2013 05:56:43 +0000 (21:56 -0800)
include/GLES3/gl3.h [new file with mode: 0644]
include/GLES3/gl3platform.h [new file with mode: 0644]

diff --git a/include/GLES3/gl3.h b/include/GLES3/gl3.h
new file mode 100644 (file)
index 0000000..bdcc6e5
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __gl3_h_
+#define __gl3_h_
+
+#define _COREGL_NAME_MANGLE(name) name
+
+#include <GLES3/gl3platform.h>
+
+#include "def_gl.h"
+#include "sym_gl.h"
+
+#undef GL
+
+#endif /* __gl3_h_ */
+
diff --git a/include/GLES3/gl3platform.h b/include/GLES3/gl3platform.h
new file mode 100644 (file)
index 0000000..b1e869d
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef __gl3platform_h_
+#define __gl3platform_h_
+
+/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */
+
+/*
+ * 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 3.X  gl3.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 /* __gl3platform_h_ */