[Mesa-dev] [PATCH 01/23] mesa: add GL_PROGRAM_BINARY_FORMAT_MESA enum
Timothy Arceri
tarceri at itsqueeze.com
Wed Nov 29 01:24:37 UTC 2017
From: Jordan Justen <jordan.l.justen at intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
---
docs/specs/enums.txt | 3 +++
src/mapi/glapi/registry/gl.xml | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/docs/specs/enums.txt b/docs/specs/enums.txt
index eb4aa396c56..bf3ca9c1762 100644
--- a/docs/specs/enums.txt
+++ b/docs/specs/enums.txt
@@ -56,20 +56,23 @@ GL_MESA_program_debug: (obsolete)
GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x8BB7
GL_MESAX_texture_stack:
GL_TEXTURE_1D_STACK_MESAX 0x8759
GL_TEXTURE_2D_STACK_MESAX 0x875A
GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
+GL_MESA_program_binary_formats:
+ GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
+
GL_MESA_tile_raster_order
GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
EGL_MESA_drm_image
EGL_DRM_BUFFER_FORMAT_MESA 0x31D0
EGL_DRM_BUFFER_USE_MESA 0x31D1
EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2
EGL_DRM_BUFFER_MESA 0x31D3
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml
index cbabe11b398..833478aa515 100644
--- a/src/mapi/glapi/registry/gl.xml
+++ b/src/mapi/glapi/registry/gl.xml
@@ -5498,21 +5498,21 @@ typedef unsigned int GLhandleARB;
<enum value="0x8758" name="GL_PACK_INVERT_MESA"/>
<enum value="0x8759" name="GL_DEBUG_OBJECT_MESA" comment="NOT an alias. Accidental reuse of GL_TEXTURE_1D_STACK_MESAX"/>
<enum value="0x8759" name="GL_TEXTURE_1D_STACK_MESAX"/>
<enum value="0x875A" name="GL_DEBUG_PRINT_MESA" comment="NOT an alias. Accidental reuse of GL_TEXTURE_2D_STACK_MESAX"/>
<enum value="0x875A" name="GL_TEXTURE_2D_STACK_MESAX"/>
<enum value="0x875B" name="GL_DEBUG_ASSERT_MESA" comment="NOT an alias. Accidental reuse of GL_PROXY_TEXTURE_1D_STACK_MESAX"/>
<enum value="0x875B" name="GL_PROXY_TEXTURE_1D_STACK_MESAX"/>
<enum value="0x875C" name="GL_PROXY_TEXTURE_2D_STACK_MESAX"/>
<enum value="0x875D" name="GL_TEXTURE_1D_STACK_BINDING_MESAX"/>
<enum value="0x875E" name="GL_TEXTURE_2D_STACK_BINDING_MESAX"/>
- <unused start="0x875F" vendor="MESA"/>
+ <enum value="0x875F" name="GL_PROGRAM_BINARY_FORMAT_MESA"/>
</enums>
<enums namespace="GL" start="0x8760" end="0x883F" vendor="AMD">
<enum value="0x8760" name="GL_STATIC_ATI"/>
<enum value="0x8761" name="GL_DYNAMIC_ATI"/>
<enum value="0x8762" name="GL_PRESERVE_ATI"/>
<enum value="0x8763" name="GL_DISCARD_ATI"/>
<enum value="0x8764" name="GL_BUFFER_SIZE"/>
<enum value="0x8764" name="GL_BUFFER_SIZE_ARB"/>
<enum value="0x8764" name="GL_OBJECT_BUFFER_SIZE_ATI"/>
@@ -44354,20 +44354,25 @@ typedef unsigned int GLhandleARB;
<enum name="GL_PROXY_TEXTURE_2D_STACK_MESAX"/>
<enum name="GL_TEXTURE_1D_STACK_BINDING_MESAX"/>
<enum name="GL_TEXTURE_2D_STACK_BINDING_MESAX"/>
</require>
</extension>
<extension name="GL_MESA_pack_invert" supported="gl">
<require>
<enum name="GL_PACK_INVERT_MESA"/>
</require>
</extension>
+ <extension name="GL_MESA_program_binary_formats" supported="gl|gles2">
+ <require>
+ <enum name="GL_PROGRAM_BINARY_FORMAT_MESA"/>
+ </require>
+ </extension>
<extension name="GL_MESA_resize_buffers" supported="gl">
<require>
<command name="glResizeBuffersMESA"/>
</require>
</extension>
<extension name="GL_MESA_shader_integer_functions" supported="gl|gles2"/>
<extension name="GL_MESA_window_pos" supported="gl">
<require>
<command name="glWindowPos2dMESA"/>
<command name="glWindowPos2dvMESA"/>
--
2.14.3
More information about the mesa-dev
mailing list