Hash :
465d6090
Author :
Date :
2019-01-02T16:21:18
Add GL_ANGLE_provoking_vertex on D3D11 and GL. This extension is a subset of GL_ARB_provoking_vertex without the QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION query. Bug: angleproject:2829 Change-Id: I907a4d16b7b13d3bbfb948842091eedd7b6a8b77 Reviewed-on: https://chromium-review.googlesource.com/c/1410289 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
The GLES 1.0 headers ANGLE uses are generated using the Khronos tools but modified to include function pointer types and function prototype guards.
Install Python 3 (not 2) with the lxml addon. You can do this using pip install lxml from your Python’s Scripts folder.
Edit OpenGL-Registry/xml/genheaders.py:
# GLES 1.x API + mandatory extensions - GLES/gl.h (no function pointers) prefixText = prefixStrings + gles1PlatformStrings + genDateCommentString, to prefixText = prefixStrings + gles1PlatformStrings + apiEntryPrefixStrings + genDateCommentString, genFuncPointers = False, to genFuncPointers = True, protectProto = False, to protectProto = 'nonzero', protectProtoStr = 'GL_GLEXT_PROTOTYPES', to protectProtoStr = 'GL_GLES_PROTOTYPES',
Set your working directory to OpenGL-Registry/xml/.
Run python genheaders.py ../api/GLES/gl.h
The generated header will now be in OpenGL-Registry/api/GLES/gl.h. You can copy the header over to this folder.
Also update scripts/gl.xml with the latest version from OpenGL-Registry/xml/.