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

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: 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 b463320309dff4e0b50fd923a37b76b0b7bfafdf..ffdfe214f0f87bf0c1f02ff9dcc7204632284188 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2815,6 +2815,17 @@ _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,
+ 'unsafe': True,
Zhenyao Mo 2015/08/31 21:12:30 Remove the 'unsafe'. It is only intended for ES3 f
Kimmo Kinnunen 2015/09/24 13:16:27 Done.
+ 'extension': True,
+ 'extension_flag': 'ext_blend_func_extended',
+ },
'GetFragDataLocation': {
'type': 'Custom',
'data_transfer_methods': ['shm'],
@@ -3961,6 +3972,24 @@ _FUNCTION_INFO = {
'extension': True,
'chromium': True,
},
+ 'BindFragDataLocationEXT': {
+ 'type': 'GLchar',
+ 'data_transfer_methods': ['bucket'],
+ 'needs_size': True,
+ 'gl_test_func': 'DoBindFragDataLocationEXT',
+ 'extension': True,
+ 'extension_flag': 'ext_blend_func_extended',
+ 'unsafe': True,
Zhenyao Mo 2015/08/31 21:12:30 Remove unsafe.
Kimmo Kinnunen 2015/09/24 13:16:27 Done.
+ },
+ 'BindFragDataLocationIndexedEXT': {
+ 'type': 'GLchar',
+ 'data_transfer_methods': ['bucket'],
+ 'needs_size': True,
+ 'gl_test_func': 'DoBindFragDataLocationIndexedEXT',
+ 'extension': True,
+ 'extension_flag': 'ext_blend_func_extended',
+ 'unsafe': True,
Zhenyao Mo 2015/08/31 21:12:30 Remove unsafe.
Kimmo Kinnunen 2015/09/24 13:16:27 Done.
+ },
'BindUniformLocationCHROMIUM': {
'type': 'GLchar',
'extension': True,

Powered by Google App Engine
This is Rietveld 408576698