summaryrefslogtreecommitdiff
path: root/registry/glx.xml
diff options
context:
space:
mode:
Diffstat (limited to 'registry/glx.xml')
-rw-r--r--registry/glx.xml78
1 files changed, 47 insertions, 31 deletions
diff --git a/registry/glx.xml b/registry/glx.xml
index fe32a8c..d6a7c27 100644
--- a/registry/glx.xml
+++ b/registry/glx.xml
@@ -1,36 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry>
- <!--
- Copyright (c) 2013-2016 The Khronos Group Inc.
-
- Permission is hereby granted, free of charge, to any person obtaining a
- copy of this software and/or associated documentation files (the
- "Materials"), to deal in the Materials without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Materials, and to
- permit persons to whom the Materials are furnished to do so, subject to
- the following conditions:
-
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Materials.
-
- THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
- -->
- <!--
- This file, glx.xml, is the GLX API Registry. The older ".spec" file
- format has been retired and will no longer be updated with new
- extensions and API versions. The canonical version of the registry,
- together with documentation, schema, and Python generator scripts used
- to generate C header files for GLX, can always be found in the Khronos
- Registry at
- http://www.opengl.org/registry/
- -->
+ <comment>
+Copyright (c) 2013-2017 The Khronos Group Inc.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+------------------------------------------------------------------------
+
+This file, glx.xml, is the GLX API Registry. The canonical version of the
+registry, together with documentation, schema, and Python generator scripts
+used to generate C header files for GLX, can always be found in the Khronos
+Registry at
+ https://github.com/KhronosGroup/OpenGL-Registry
+ </comment>
<!-- SECTION: GLX type definitions. Does not include X or GL types. -->
<types>
@@ -470,6 +462,10 @@ typedef unsigned __int64 uint64_t;
<unused start="0x21A9" end="0x21AF"/>
</enums>
+ <enums namespace="GLX" start="0x31B3" end="0x31B3" vendor="ARB" comment="Shared with WGL.">
+ <enum value="0x31B3" name="GLX_CONTEXT_OPENGL_NO_ERROR_ARB"/>
+ </enums>
+
<enums namespace="GLX" start="0x8000" end="0x804F" vendor="ARB">
<enum value="0x8000" name="GLX_NONE" comment="Attribute value"/>
<enum value="0x8001" name="GLX_SLOW_CONFIG" comment="CONFIG_CAVEAT attribute value"/>
@@ -1076,6 +1072,9 @@ typedef unsigned __int64 uint64_t;
<param>unsigned long *<name>mask</name></param>
</command>
<command>
+ <proto>int <name>glXGetSwapIntervalMESA</name></proto>
+ </command>
+ <command>
<proto><ptype>Bool</ptype> <name>glXGetSyncValuesOML</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param>
<param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
@@ -1412,6 +1411,10 @@ typedef unsigned __int64 uint64_t;
<param><ptype>int64_t</ptype> <name>remainder</name></param>
</command>
<command>
+ <proto>int <name>glXSwapIntervalMESA</name></proto>
+ <param>unsigned int <name>interval</name></param>
+ </command>
+ <command>
<proto>void <name>glXSwapIntervalEXT</name></proto>
<param><ptype>Display</ptype> *<name>dpy</name></param>
<param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
@@ -1670,6 +1673,11 @@ typedef unsigned __int64 uint64_t;
<command name="glXCreateContextAttribsARB"/>
</require>
</extension>
+ <extension name="GLX_ARB_create_context_no_error" supported="glx">
+ <require>
+ <enum name="GLX_CONTEXT_OPENGL_NO_ERROR_ARB"/>
+ </require>
+ </extension>
<extension name="GLX_ARB_create_context_profile" supported="glx">
<require>
<enum name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/>
@@ -1765,6 +1773,8 @@ typedef unsigned __int64 uint64_t;
<enum name="GLX_VENDOR_NAMES_EXT"/>
</require>
</extension>
+ <extension name="GLX_EXT_no_config_context" supported="glx">
+ </extension>
<extension name="GLX_EXT_stereo_tree" supported="glx">
<require>
<type name="GLXStereoNotifyEventEXT"/>
@@ -1907,6 +1917,12 @@ typedef unsigned __int64 uint64_t;
<command name="glXSet3DfxModeMESA"/>
</require>
</extension>
+ <extension name="GLX_MESA_swap_control" supported="glx">
+ <require>
+ <command name="glXGetSwapIntervalMESA"/>
+ <command name="glXSwapIntervalMESA"/>
+ </require>
+ </extension>
<extension name="GLX_NV_copy_buffer" supported="glx">
<require>
<command name="glXCopyBufferSubDataNV"/>