include: sync GL headers with registry
authorHeinrich Fink <heinrich.fink@daqri.com>
Tue, 30 Jul 2019 11:26:46 +0000 (13:26 +0200)
committerHeinrich Fink <heinrich.fink@daqri.com>
Thu, 5 Sep 2019 07:26:15 +0000 (09:26 +0200)
commitc9a3f4fe407469f9ba8d00ba4c3f20431b51f6e6
treed1cfd5ff6835fba86571a1c657701f6b44a01b5a
parent55c912883c9b3624ee060fe1a0232cf71e329d80
include: sync GL headers with registry

Integrating headers from upstream registry [0] master branch. Effective
GL registry commit integrated:

9d534f9312e56c72df763207e449c6719576fd54

Keeping the following quirks local to Mesa:

- glext.h: BUILDING_MESA guard (see !1492)

- glxext.h: glXQueryGLXPbufferSGIX: 'int' return type (Mesa) vs while
'void' (GL registry)

- glxext.h: GLX_RENDERER_ID_MESA is still expected by some mesa tests,
even though its token has been removed from the spec (see
docs/specs/MESA_query_renderer.spec)

- glxext.h: glXGetTransparentIndexSUN / PFNGLXGETTRANSPARENTINDEXSUNPROC
argument pTransparentIndex has type 'unsigned long *' (Mesa) vs. 'long
*' (GL registry)

[0] https://github.com/KhronosGroup/OpenGL-Registry

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
include/GL/glcorearb.h
include/GL/glext.h
include/GL/wglext.h