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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: fix unittests Created 3 years, 4 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
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 384892e3f69bb4c203fddaff3aafc76ecfb02388..a934b067e805d78b4c33e2dfe6956336ac925e9c 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': [

Powered by Google App Engine
This is Rietveld 408576698