Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 3058043: Clear render buffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/framebuffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
===================================================================
--- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 54850)
+++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
@@ -1038,7 +1038,13 @@
'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,
@@ -1090,7 +1096,11 @@
},
'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,
@@ -1104,6 +1114,9 @@
'type': 'Manual',
'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset',
},
+ 'Enable': {
+ 'decoder_func': 'DoEnable',
+ },
'EnableVertexAttribArray': {
'decoder_func': 'DoEnableVertexAttribArray',
'impl_decl': False,
@@ -1375,6 +1388,8 @@
'cmd_args':
'GLuint shader, const char* data',
},
+ 'StencilMask': {'decoder_func': 'DoStencilMask'},
+ 'StencilMaskSeparate': {'decoder_func': 'DoStencilMaskSeparate'},
'SwapBuffers': {
'type': 'Custom',
'impl_func': False,
« no previous file with comments | « no previous file | gpu/command_buffer/service/framebuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698