Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: add test Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index fc0f7fd4bfbc46c38ec738882504fcdc9ce8e18a..e7e7355ecffa36794b71d06f2660dc8bf135a680 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1052,6 +1052,14 @@ _NAMED_TYPE_INFO = {
'GL_TEXTURE_3D',
],
},
+ 'TextureBufferUsage': {
+ 'type': 'GLenum',
+ 'is_complete': True,
+ 'valid': [
+ 'GL_NONE',
+ 'GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM',
+ ],
+ },
'TransformFeedbackBindTarget': {
'type': 'GLenum',
'valid': [
@@ -1474,6 +1482,7 @@ _NAMED_TYPE_INFO = {
'GL_TEXTURE_MIN_FILTER',
'GL_TEXTURE_WRAP_S',
'GL_TEXTURE_WRAP_T',
+ 'GL_TEXTURE_BUFFER_USAGE_CHROMIUM',
Zhenyao Mo 2017/06/20 00:14:30 I am not sure this is the right thing to do. I thi
],
'valid_es3': [
'GL_TEXTURE_BASE_LEVEL',
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698