mesa/gl: Sync with Khronos registry

Update GL headers and xml API from upstream Khronos registry (commit
3d0c3eb). Keep `BUILDING_MESA` quirk in glext.h.

mesa/extensions: Expose EXT_EGL_sync instead of MESA_EGL_sync to reflect
Khronos request of changing this extension's scope from MESA to EXT.
EGL_EGL_sync is also the name of the extension that has been merged into
the upstream Khronos GL registry.

Remove MESA_EGL_sync spec txt from Mesa tree as it is now published as
EXT by Khronos.

v1: Remove MESA_EGL_sync spec and squash commits (Eric E)

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Heinrich Fink
2019-09-16 13:20:49 +02:00
committed by Daniel Stone
parent 2bfcf04345
commit df8602f4b5
6 changed files with 1406 additions and 242 deletions

View File

@@ -1,79 +0,0 @@
Name
MESA_EGL_sync
Name Strings
GL_MESA_EGL_sync
Contact
Heinrich Fink, DAQRI (heinrich.fink 'at' daqri.com)
Contributors
Heinrich Fink, DAQRI
Daniel Stone, Collabora
Marek Olšák, AMD
Status
Proposal
Version
Version 2, July 29, 2019
Number
OpenGL Extension #545
Dependencies
EGL_KHR_fence_sync is required.
This extension is written against the EGL 1.2 Specification, as modified by
the EGL_KHR_fence_sync extension.
Overview
This extension extends EGL_KHR_fence_sync with client API support for
OpenGL (compatibility or core profiles) as a Mesa extension.
The "GL_MESA_EGL_sync" string indicates that a fence sync object can be
created in association with a fence command placed in the command stream
of a bound OpenGL context.
IP Status
None
New Procedures and Functions
None
New Tokens
None
Additions to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors)
Modify Section 3.8.1 Sync Objects, page 43
After "Each client API which supports..." add a new paragraph:
If the GL_MESA_EGL_sync extension is supported by OpenGL (compatibility or
core profile), a fence sync object may be created when the currently bound API
is OpenGL.
Errors
None
Revision History
Version 2, July 29th, 2019
Update extension no in draft
Version 1, June 5th, 2019
Initial draft (Heinrich Fink)