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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years 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/client/gles2_c_lib_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 eb5724a38d51c42276e0766fea538e530629e306..76708f5e1cfa1fb302df3a2d16c6ced5a9f41595 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2864,6 +2864,16 @@ _FUNCTION_INFO = {
'result': ['GLint'],
'error_return': -1,
},
+ 'GetFragDataIndexEXT': {
+ 'type': 'Custom',
+ 'data_transfer_methods': ['shm'],
+ 'cmd_args':
+ 'GLidProgram program, uint32_t name_bucket_id, GLint* index',
+ 'result': ['GLint'],
+ 'error_return': -1,
+ 'extension': 'EXT_blend_func_extended',
+ 'extension_flag': 'ext_blend_func_extended',
+ },
'GetFragDataLocation': {
'type': 'Custom',
'data_transfer_methods': ['shm'],
@@ -4017,6 +4027,22 @@ _FUNCTION_INFO = {
'extension': True,
'chromium': True,
},
+ 'BindFragDataLocationEXT': {
+ 'type': 'GLchar',
+ 'data_transfer_methods': ['bucket'],
+ 'needs_size': True,
+ 'gl_test_func': 'DoBindFragDataLocationEXT',
+ 'extension': 'EXT_blend_func_extended',
+ 'extension_flag': 'ext_blend_func_extended',
+ },
+ 'BindFragDataLocationIndexedEXT': {
+ 'type': 'GLchar',
+ 'data_transfer_methods': ['bucket'],
+ 'needs_size': True,
+ 'gl_test_func': 'DoBindFragDataLocationIndexedEXT',
+ 'extension': 'EXT_blend_func_extended',
+ 'extension_flag': 'ext_blend_func_extended',
+ },
'BindUniformLocationCHROMIUM': {
'type': 'GLchar',
'extension': 'CHROMIUM_bind_uniform_location',
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698