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 e1051b4a0135afa840e1ce7766b76987c0625459..36dad3fb048aa0f33455422f4a062e485176411a 100755 |
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py |
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py |
@@ -224,6 +224,7 @@ GL_APICALL GLuint GL_APIENTRY glCreateStreamTextureCHROMIUM (GLuint textur |
GL_APICALL void GL_APIENTRY glDestroyStreamTextureCHROMIUM (GLuint texture); |
GL_APICALL void GL_APIENTRY glPlaceholder453CHROMIUM (void); |
GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLidShader shader, GLsizeiNotNegative bufsize, GLsizei* length, char* source); |
+GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint width, GLint height); |
""" |
# This is the list of all commmands that will be generated and their Id. |
@@ -433,6 +434,7 @@ _CMD_ID_TABLE = { |
'GetMultipleIntegervCHROMIUM': 454, |
'GetProgramInfoCHROMIUM': 455, |
'GetTranslatedShaderSourceANGLE': 456, |
+ 'PostSubBufferCHROMIUM': 457, |
} |
# This is a list of enum names and their valid values. It is used to map |
@@ -1517,6 +1519,13 @@ _FUNCTION_INFO = { |
'chromium': True, |
}, |
'PixelStorei': {'type': 'Manual'}, |
+ 'PostSubBufferCHROMIUM': { |
+ 'type': 'Custom', |
+ 'impl_func': False, |
+ 'unit_test': False, |
+ 'extension': True, |
+ 'chromium': True, |
+ }, |
'RenderbufferStorage': { |
'decoder_func': 'DoRenderbufferStorage', |
'gl_test_func': 'glRenderbufferStorageEXT', |