| 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 b0884b676487356b834c89840ab9cd444088bd87..dc576d7d7b0cf56d4bdf94e93618c5bf709dd92e 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -1508,6 +1508,10 @@ _FUNCTION_INFO = {
|
| 'type': 'Bind',
|
| 'id_mapping': [ 'Buffer' ],
|
| 'gen_func': 'GenBuffersARB',
|
| + 'valid_args': {
|
| + '3': '4',
|
| + '4': '4'
|
| + },
|
| 'unsafe': True,
|
| },
|
| 'BindFramebuffer': {
|
| @@ -2030,6 +2034,15 @@ _FUNCTION_INFO = {
|
| 'uint32_t type',
|
| ],
|
| },
|
| + 'GetActiveUniformBlockName': {
|
| + 'type': 'Custom',
|
| + 'data_transfer_methods': ['shm'],
|
| + 'cmd_args':
|
| + 'GLidProgram program, GLuint index, uint32_t name_bucket_id, '
|
| + 'void* result',
|
| + 'result': ['int32_t'],
|
| + 'unsafe': True,
|
| + },
|
| 'GetAttachedShaders': {
|
| 'type': 'Custom',
|
| 'data_transfer_methods': ['shm'],
|
| @@ -2200,7 +2213,27 @@ _FUNCTION_INFO = {
|
| 'get_len_enum': 'GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE',
|
| 'unit_test': False,
|
| 'extension': True,
|
| - },
|
| + },
|
| + 'GetUniformBlockIndex': {
|
| + 'type': 'Custom',
|
| + 'data_transfer_methods': ['shm'],
|
| + 'cmd_args':
|
| + 'GLidProgram program, uint32_t name_bucket_id, GLuint* index',
|
| + 'result': ['GLuint'],
|
| + 'error_return': 'GL_INVALID_INDEX',
|
| + 'unsafe': True,
|
| + },
|
| + 'GetUniformBlocksCHROMIUM': {
|
| + 'type': 'Custom',
|
| + 'expectation': False,
|
| + 'impl_func': False,
|
| + 'extension': True,
|
| + 'chromium': True,
|
| + 'client_test': False,
|
| + 'cmd_args': 'GLidProgram program, uint32_t bucket_id',
|
| + 'result': ['uint32_t'],
|
| + 'unsafe': True,
|
| + },
|
| 'GetUniformfv': {
|
| 'type': 'Custom',
|
| 'data_transfer_methods': ['shm'],
|
| @@ -3021,6 +3054,13 @@ _FUNCTION_INFO = {
|
| 'chromium': True,
|
| 'client_test': False,
|
| },
|
| + 'OrderingBarrierCHROMIUM': {
|
| + 'impl_func': False,
|
| + 'gen_cmd': False,
|
| + 'extension': True,
|
| + 'chromium': True,
|
| + 'client_test': False,
|
| + },
|
| 'TraceBeginCHROMIUM': {
|
| 'type': 'Custom',
|
| 'impl_func': False,
|
|
|