[Mesa-dev] [PATCH 05/12] mesa: Drop enums that had been removed in later revs of specs.
Eric Anholt
eric at anholt.net
Wed Nov 25 19:10:48 PST 2015
Mesa hasn't been using these enums and the finalized specs don't reference
them, so losing them from our generated enum-to-string code should be
fine. Reduces diffs to generating from Khronos XML, which has these enums
noted defined but commented out from any consumers.
---
src/mapi/glapi/gen/ARB_direct_state_access.xml | 1 -
src/mapi/glapi/gen/EXT_framebuffer_object.xml | 3 ---
src/mapi/glapi/gen/GL3x.xml | 2 --
3 files changed, 6 deletions(-)
diff --git a/src/mapi/glapi/gen/ARB_direct_state_access.xml b/src/mapi/glapi/gen/ARB_direct_state_access.xml
index 4c8f73e..293d716 100644
--- a/src/mapi/glapi/gen/ARB_direct_state_access.xml
+++ b/src/mapi/glapi/gen/ARB_direct_state_access.xml
@@ -5,7 +5,6 @@
<category name="GL_ARB_direct_state_access" number="164">
<enum name="TEXTURE_TARGET" value="0x1006"/>
<enum name="QUERY_TARGET" value="0x82EA"/>
- <enum name="TEXTURE_BINDING" value="0x82EB"/>
<!-- Transform Feedback object functions -->
diff --git a/src/mapi/glapi/gen/EXT_framebuffer_object.xml b/src/mapi/glapi/gen/EXT_framebuffer_object.xml
index 9ae0291..310e8ee 100644
--- a/src/mapi/glapi/gen/EXT_framebuffer_object.xml
+++ b/src/mapi/glapi/gen/EXT_framebuffer_object.xml
@@ -8,7 +8,6 @@
<enum name="RENDERBUFFER_WIDTH_EXT" value="0x8D42"/>
<enum name="RENDERBUFFER_HEIGHT_EXT" value="0x8D43"/>
<enum name="RENDERBUFFER_INTERNAL_FORMAT_EXT" value="0x8D44"/>
- <enum name="STENCIL_INDEX_EXT" value="0x8D45"/>
<enum name="STENCIL_INDEX1_EXT" value="0x8D46"/>
<enum name="STENCIL_INDEX4_EXT" value="0x8D47"/>
<enum name="STENCIL_INDEX8_EXT" value="0x8D48"/>
@@ -52,13 +51,11 @@
<enum name="FRAMEBUFFER_COMPLETE_EXT" value="0x8CD5"/>
<enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT" value="0x8CD6"/>
<enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT" value="0x8CD7"/>
- <enum name="FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT" value="0x8CD8"/>
<enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT" value="0x8CD9"/>
<enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_EXT" value="0x8CDA"/>
<enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT" value="0x8CDB"/>
<enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT" value="0x8CDC"/>
<enum name="FRAMEBUFFER_UNSUPPORTED_EXT" value="0x8CDD"/>
- <enum name="FRAMEBUFFER_STATUS_ERROR_EXT" value="0x8CDE"/>
<enum name="FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CA6">
<size name="Get" mode="get"/>
</enum>
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml
index 7919d65..7241c66 100644
--- a/src/mapi/glapi/gen/GL3x.xml
+++ b/src/mapi/glapi/gen/GL3x.xml
@@ -21,8 +21,6 @@
<enum name="MINOR_VERSION" value="0x821C"/>
<enum name="NUM_EXTENSIONS" value="0x821D"/>
<enum name="CONTEXT_FLAGS" value="0x821E"/>
- <enum name="DEPTH_BUFFER" value="0x8223"/>
- <enum name="STENCIL_BUFFER" value="0x8224"/>
<enum name="CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT" value="0x0001"/>
<enum name="RGBA32F" value="0x8814"/>
<enum name="RGB32F" value="0x8815"/>
--
2.6.2
More information about the mesa-dev
mailing list