summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-04-22 17:01:15 +1000
committerTimothy Arceri <[email protected]>2017-04-26 10:03:06 +1000
commit7927d0378fc72ceff7d0ddcbe7c21756f0e1f4ea (patch)
treead3629327bdf9186f4bdad5561decabfc973d5ea /src/mapi/glapi/gen
parent7b9963a28f432920428f7fac5f6dba7b2996cd16 (diff)
mesa: drop APPLE_vertex_array_object support
Shared context support for VAOs was dropped in 0b2750620b65. From the ARB_vertex_array_object spec: "This extension differs from GL_APPLE_vertex_array_object in that client memory cannot be accessed through a non-zero vertex array object. It also differs in that vertex array objects are explicitly not sharable between contexts." Nobody should be using this extension over ARB_vertex_array_object anymore so just drop it rather than adding locking back just for VAOs created from these functions. For reference the Nvidia blob doesn't expose this extension. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/APPLE_vertex_array_object.xml27
-rw-r--r--src/mapi/glapi/gen/Makefile.am1
-rw-r--r--src/mapi/glapi/gen/gl_API.xml2
3 files changed, 1 insertions, 29 deletions
diff --git a/src/mapi/glapi/gen/APPLE_vertex_array_object.xml b/src/mapi/glapi/gen/APPLE_vertex_array_object.xml
deleted file mode 100644
index 7312f9b35f0..00000000000
--- a/src/mapi/glapi/gen/APPLE_vertex_array_object.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
-
-<OpenGLAPI>
-<category name="GL_APPLE_vertex_array_object" number="273">
- <enum name="VERTEX_ARRAY_BINDING_APPLE" value="0x85B5"/>
-
- <function name="BindVertexArrayAPPLE" deprecated="3.1">
- <param name="array" type="GLuint"/>
- </function>
-
- <function name="DeleteVertexArraysAPPLE" alias="DeleteVertexArrays">
- <param name="n" type="GLsizei"/>
- <param name="arrays" type="const GLuint *"/>
- </function>
-
- <function name="GenVertexArraysAPPLE" deprecated="3.1">
- <param name="n" type="GLsizei"/>
- <param name="arrays" type="GLuint *" count="n" output="true"/>
- </function>
-
- <function name="IsVertexArrayAPPLE" alias="IsVertexArray">
- <param name="array" type="GLuint"/>
- <return type="GLboolean"/>
- </function>
-</category>
-</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index c793067d77f..a7e82d65afc 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -189,7 +189,6 @@ API_XML = \
AMD_performance_monitor.xml \
ARB_vertex_type_2_10_10_10_rev.xml \
APPLE_object_purgeable.xml \
- APPLE_vertex_array_object.xml \
EXT_draw_buffers2.xml \
EXT_framebuffer_object.xml \
EXT_gpu_shader4.xml \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 522d2e5e80b..d19cfd29e45 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12519,7 +12519,7 @@
</category>
<xi:include href="APPLE_object_purgeable.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
-<xi:include href="APPLE_vertex_array_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<!-- Extension number 273 obsolete APPLE_vertex_array_object. -->
<category name="GL_APPLE_ycbcr_422" number="275">
<enum name="YCBCR_422_APPLE" value="0x85B9"/>