summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 36dad3f..7d00e42 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -225,6 +225,7 @@ GL_APICALL void GL_APIENTRY glDestroyStreamTextureCHROMIUM (GLuint textu
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);
+GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenumTextureBindTarget target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
"""
# This is the list of all commmands that will be generated and their Id.
@@ -435,6 +436,7 @@ _CMD_ID_TABLE = {
'GetProgramInfoCHROMIUM': 455,
'GetTranslatedShaderSourceANGLE': 456,
'PostSubBufferCHROMIUM': 457,
+ 'TexImageIOSurface2DCHROMIUM': 458,
}
# This is a list of enum names and their valid values. It is used to map
@@ -1793,6 +1795,12 @@ _FUNCTION_INFO = {
'extension': True,
'chromium': True,
},
+ 'TexImageIOSurface2DCHROMIUM': {
+ 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM',
+ 'unit_test': False,
+ 'extension': True,
+ 'chromium': True,
+ },
}