| Index: gpu/command_buffer/build_gles2_cmd_buffer.py
|
| ===================================================================
|
| --- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 47428)
|
| +++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
|
| @@ -181,7 +181,8 @@
|
| GL_APICALL void GL_APIENTRY glGenSharedIds (GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids);
|
| GL_APICALL void GL_APIENTRY glDeleteSharedIds (GLuint namespace_id, GLsizei n, const GLuint* ids);
|
| GL_APICALL void GL_APIENTRY glRegisterSharedIds (GLuint namespace_id, GLsizei n, const GLuint* ids);
|
| -GL_APICALL void GL_APIENTRY glCommandBufferEnable (GLenumCommandBufferState cap, GLboolean enable);"""
|
| +GL_APICALL GLboolean GL_APIENTRY glCommandBufferEnable (const char* feature);
|
| +"""
|
|
|
| # This is the list of all commmands that will be generated and their Id.
|
| # If a command is not listed in this table it is an error.
|
| @@ -522,12 +523,6 @@
|
| 'GL_FOG_HINT',
|
| ],
|
| },
|
| - 'CommandBufferState': {
|
| - 'type': 'GLenum',
|
| - 'valid': [
|
| - 'GLES2_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS',
|
| - ],
|
| - },
|
| 'TextureTarget': {
|
| 'type': 'GLenum',
|
| 'valid': [
|
| @@ -1027,8 +1022,12 @@
|
| },
|
| 'ClearDepthf': {'decoder_func': 'glClearDepth'},
|
| 'CommandBufferEnable': {
|
| + 'type': 'Custom',
|
| + 'immediate': False,
|
| 'decoder_func': 'DoCommandBufferEnable',
|
| 'expectation': False,
|
| + 'cmd_args': 'GLuint bucket_id, GLint* result',
|
| + 'result': ['GLint'],
|
| },
|
| 'CompileShader': {'decoder_func': 'DoCompileShader', 'unit_test': False},
|
| 'CompressedTexImage2D': {
|
|
|