summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 01:12:28 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 01:12:28 +0000
commit3a2e7c7b5a3cfabaab0043020f2a35cde53fb0d7 (patch)
tree72416741e7d081122bf1f85954b689bd43eb84b9 /gpu/command_buffer/build_gles2_cmd_buffer.py
parentc87bcf000fde1dd7194b5e40e8c9f1058700dd9d (diff)
downloadchromium_src-3a2e7c7b5a3cfabaab0043020f2a35cde53fb0d7.zip
chromium_src-3a2e7c7b5a3cfabaab0043020f2a35cde53fb0d7.tar.gz
chromium_src-3a2e7c7b5a3cfabaab0043020f2a35cde53fb0d7.tar.bz2
Clear render buffers
TEST=unit tests BUG=41300 Review URL: http://codereview.chromium.org/3058043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index ef65df7..f747f7a 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1038,7 +1038,13 @@ _FUNCTION_INFO = {
'gl_test_func': 'glCheckFramebufferStatusEXT',
'result': ['GLenum'],
},
- 'ClearDepthf': {'decoder_func': 'glClearDepth'},
+ 'ClearColor': {'decoder_func': 'DoClearColor'},
+ 'ClearDepthf': {
+ 'decoder_func': 'DoClearDepthf',
+ 'gl_test_func': 'glClearDepth',
+ },
+ 'ColorMask': {'decoder_func': 'DoColorMask'},
+ 'ClearStencil': {'decoder_func': 'DoClearStencil'},
'CommandBufferEnable': {
'type': 'Custom',
'immediate': False,
@@ -1091,7 +1097,11 @@ _FUNCTION_INFO = {
},
'DeleteTextures': {'type': 'DELn'},
'DepthRangef': {'decoder_func': 'glDepthRange'},
+ 'DepthMask': {'decoder_func': 'DoDepthMask'},
'DetachShader': {'decoder_func': 'DoDetachShader'},
+ 'Disable': {
+ 'decoder_func': 'DoDisable',
+ },
'DisableVertexAttribArray': {
'decoder_func': 'DoDisableVertexAttribArray',
'impl_decl': False,
@@ -1105,6 +1115,9 @@ _FUNCTION_INFO = {
'type': 'Manual',
'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset',
},
+ 'Enable': {
+ 'decoder_func': 'DoEnable',
+ },
'EnableVertexAttribArray': {
'decoder_func': 'DoEnableVertexAttribArray',
'impl_decl': False,
@@ -1376,6 +1389,8 @@ _FUNCTION_INFO = {
'cmd_args':
'GLuint shader, const char* data',
},
+ 'StencilMask': {'decoder_func': 'DoStencilMask'},
+ 'StencilMaskSeparate': {'decoder_func': 'DoStencilMaskSeparate'},
'SwapBuffers': {
'type': 'Custom',
'impl_func': False,