OSDN Git Service

Update the Khronos EGL and GLES* header files.
authorIan Elliott <ianelliott@google.com>
Thu, 6 Jul 2017 19:02:32 +0000 (13:02 -0600)
committerIan Elliott <ianelliott@google.com>
Mon, 17 Jul 2017 17:25:07 +0000 (11:25 -0600)
commite7be42b8f492e7544087800daefe92c2f6bd631a
tree88c78a52eef17b2ecf505ca10d32975d438a5097
parent6d7c6002e399b16c17ecd4b178bec7f4324bf3c5
Update the Khronos EGL and GLES* header files.

The latest Khronos header file contents are used.  Some
not-yet-registered Android extensions are added in, along with a few
data types that were accidentally deleted from "GLES/gl.h".  Note that
Khronos rearranged some of the content.

In addition, a repeat of a 2012 fix was required to avoid ANativeWindow
being declared twice during the compilation of source files which also
include "window.h".  Both "window.h" and "native_window.h" contain the
following line:  typedef struct ANativeWindow ANativeWindow;

I tested this by building Android as well as other source that includes
"window.h", and carefully compared diff's of the old and new content.

Bug: None
Test: Built Android
Change-Id: I5f908f88923378e4d121dfd5fbc11e4f210cbb2a
18 files changed:
opengl/include/EGL/NOTICE
opengl/include/EGL/egl.h
opengl/include/EGL/eglext.h
opengl/include/EGL/eglplatform.h
opengl/include/GLES/NOTICE
opengl/include/GLES/egl.h
opengl/include/GLES/gl.h
opengl/include/GLES/glext.h
opengl/include/GLES/glplatform.h
opengl/include/GLES2/NOTICE
opengl/include/GLES2/gl2.h
opengl/include/GLES2/gl2ext.h
opengl/include/GLES2/gl2platform.h
opengl/include/GLES3/NOTICE
opengl/include/GLES3/gl3.h
opengl/include/GLES3/gl31.h
opengl/include/GLES3/gl32.h
opengl/include/GLES3/gl3platform.h