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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1309333003: Get ReadPixels to work with INT and UNSIGNED_INT format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 79629552293414ee17f0cda2f0fc68584e05609b..cad0c00a7a02bbb94be515703d95eaa1f87b4185 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2230,12 +2230,16 @@ _FUNCTION_INFO = {
'type': 'PUT',
'use_count_func': True,
'count': 4,
+ 'decoder_func': 'DoClearBufferiv',
+ 'unit_test': False,
'unsafe': True,
'trace_level': 2,
},
'ClearBufferuiv': {
'type': 'PUT',
'count': 4,
+ 'decoder_func': 'DoClearBufferuiv',
+ 'unit_test': False,
'unsafe': True,
'trace_level': 2,
},
@@ -2243,11 +2247,15 @@ _FUNCTION_INFO = {
'type': 'PUT',
'use_count_func': True,
'count': 4,
+ 'decoder_func': 'DoClearBufferfv',
+ 'unit_test': False,
'unsafe': True,
'trace_level': 2,
},
'ClearBufferfi': {
'unsafe': True,
+ 'decoder_func': 'DoClearBufferfi',
+ 'unit_test': False,
'trace_level': 2,
},
'ClearColor': {
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils.h » ('j') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698