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 7ca73419cb9287f516bd60d22c9e34ee07605eb3..764a1c5603360670cf295bb81db3602659cb2dac 100755 |
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py |
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py |
@@ -1313,6 +1313,21 @@ _NAMED_TYPE_INFO = { |
'GL_MOUSE_POSITION_CHROMIUM', |
], |
}, |
+ 'UniformBlockParameter': { |
+ 'type': 'GLenum', |
+ 'valid': [ |
+ 'GL_UNIFORM_BLOCK_BINDING', |
+ 'GL_UNIFORM_BLOCK_DATA_SIZE', |
+ 'GL_UNIFORM_BLOCK_NAME_LENGTH', |
+ 'GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS', |
+ 'GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', |
+ 'GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', |
+ 'GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', |
+ ], |
+ 'invalid': [ |
+ 'GL_NEAREST', |
+ ], |
+ }, |
'VertexAttribType': { |
'type': 'GLenum', |
'valid': [ |
@@ -2034,6 +2049,12 @@ _FUNCTION_INFO = { |
'uint32_t type', |
], |
}, |
+ 'GetActiveUniformBlockiv': { |
+ 'type': 'Custom', |
+ 'data_transfer_methods': ['shm'], |
+ 'result': ['SizedResult<GLint>'], |
+ 'unsafe': True, |
+ }, |
'GetActiveUniformBlockName': { |
'type': 'Custom', |
'data_transfer_methods': ['shm'], |