Mesa (master): mesa: expose GL_EXT_texture_view as an alias of GL_OES_texture_view

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 4 18:02:28 UTC 2018


Module: Mesa
Branch: master
Commit: 4b218984d862f860e0a3b8d1bc3c3235f46871fe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b218984d862f860e0a3b8d1bc3c3235f46871fe

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Nov 27 20:42:44 2018 -0500

mesa: expose GL_EXT_texture_view as an alias of GL_OES_texture_view

There are no spec changes.

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 docs/relnotes/19.0.0.html        |  1 +
 src/mapi/glapi/gen/es_EXT.xml    | 13 +++++++++++++
 src/mesa/main/extensions_table.h |  1 +
 3 files changed, 15 insertions(+)

diff --git a/docs/relnotes/19.0.0.html b/docs/relnotes/19.0.0.html
index f66f22132e..1629e0ba52 100644
--- a/docs/relnotes/19.0.0.html
+++ b/docs/relnotes/19.0.0.html
@@ -40,6 +40,7 @@ TBD.
 
 <ul>
 <li>GL_EXT_shader_implicit_conversions on all drivers (ES extension).</li>
+<li>GL_EXT_texture_view on drivers supporting texture views (ES extension).</li>
 <li>GL_OES_texture_view on drivers supporting texture views (ES extension).</li>
 </ul>
 
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index 459f642e47..bbc4a1a111 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -1460,4 +1460,17 @@
    </function>
 </category>
 
+<category name="GL_EXT_texture_view" number="185">
+    <function name="TextureViewEXT" es2="3.1" alias="TextureView">
+        <param name="texture" type="GLuint"/>
+        <param name="target" type="GLenum"/>
+        <param name="origtexture" type="GLuint"/>
+        <param name="internalformat" type="GLenum"/>
+        <param name="minlevel" type="GLuint"/>
+        <param name="numlevels" type="GLuint"/>
+        <param name="minlayer" type="GLuint"/>
+        <param name="numlayers" type="GLuint"/>
+   </function>
+</category>
+
 </OpenGLAPI>
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index 5c03bb0d9d..8d6d56c640 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main/extensions_table.h
@@ -302,6 +302,7 @@ EXT(EXT_texture_shared_exponent             , EXT_texture_shared_exponent
 EXT(EXT_texture_snorm                       , EXT_texture_snorm                      , GLL, GLC,  x ,  x , 2009)
 EXT(EXT_texture_swizzle                     , EXT_texture_swizzle                    , GLL, GLC,  x ,  x , 2008)
 EXT(EXT_texture_type_2_10_10_10_REV         , EXT_texture_type_2_10_10_10_REV        ,  x ,  x ,  x , ES2, 2008)
+EXT(EXT_texture_view                        , OES_texture_view                       ,  x ,  x ,  x ,  31, 2014)
 EXT(EXT_timer_query                         , EXT_timer_query                        , GLL, GLC,  x ,  x , 2006)
 EXT(EXT_transform_feedback                  , EXT_transform_feedback                 , GLL, GLC,  x ,  x , 2011)
 EXT(EXT_unpack_subimage                     , dummy_true                             ,  x ,  x ,  x , ES2, 2011)




More information about the mesa-commit mailing list