summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2018-05-09 09:12:32 +0300
committerTapani Pälli <[email protected]>2018-05-24 12:53:07 +0300
commit3ddcdcf94d79a01728b45ccf4f1131e208375544 (patch)
treeb3b903fdd640d5e62ba5331066540152ec60e381 /src/mapi
parent046b2b651e41b1e1f6ba32fdb04b2caac6b46e65 (diff)
mesa: changes to expose OES_texture_view extension
Functionality already covered by ARB_texture_view, patch also adds missing 'gles guard' for enums (added in f1563e6392). Tested via arb_texture_view.*_gles3 tests and individual app utilizing texture view with ETC2. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index a53fcd1e8ab..459f642e477 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -1445,4 +1445,19 @@
</function>
</category>
+<!-- 218. GL_OES_texture_view -->
+
+<category name="GL_OES_texture_view" number="218">
+ <function name="TextureViewOES" 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>