[Mesa-dev] [PATCH 2/2] es2api: Add GL ES 3 headers

Matt Turner mattst88 at gmail.com
Mon Oct 15 15:44:28 PDT 2012


---
New files snipped from the patch for brevity.

Should we have an --enable-gles3 flag that controls whether the ES 3 symbols
are available in libGLESv2 and the headers are installed?

 include/GLES3/gl3.h         | 1061 +++++++++++++++++++++++++++++++++++++++++++
 include/GLES3/gl3ext.h      |   24 +
 include/GLES3/gl3platform.h |   30 ++
 src/mapi/es2api/Makefile.am |    5 +
 4 files changed, 1120 insertions(+), 0 deletions(-)
 create mode 100644 include/GLES3/gl3.h
 create mode 100644 include/GLES3/gl3ext.h
 create mode 100644 include/GLES3/gl3platform.h

diff --git a/src/mapi/es2api/Makefile.am b/src/mapi/es2api/Makefile.am
index 9febc4b..5e02e1c 100644
--- a/src/mapi/es2api/Makefile.am
+++ b/src/mapi/es2api/Makefile.am
@@ -36,6 +36,11 @@ GLES2_include_HEADERS = \
 	$(top_srcdir)/include/GLES2/gl2.h \
 	$(top_srcdir)/include/GLES2/gl2ext.h \
 	$(top_srcdir)/include/GLES2/gl2platform.h
+GLES3_includedir = $(includedir)/GLES3
+GLES3_include_HEADERS = \
+	$(top_srcdir)/include/GLES3/gl3.h \
+	$(top_srcdir)/include/GLES3/gl3ext.h \
+	$(top_srcdir)/include/GLES3/gl3platform.h
 
 lib_LTLIBRARIES = libGLESv2.la
 
-- 
1.7.8.6



More information about the mesa-dev mailing list