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

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 568024: This file was missing from the last CL as it was sitting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """code generator for GL command buffers.""" 7 """code generator for GL command buffers."""
8 8
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 'DeleteShader': {'type': 'Custom', 'DecoderFunc': 'DoDeleteShader'}, 861 'DeleteShader': {'type': 'Custom', 'DecoderFunc': 'DoDeleteShader'},
862 'DeleteTextures': {'type': 'DELn'}, 862 'DeleteTextures': {'type': 'DELn'},
863 'DepthRangef': {'DecoderFunc': 'glDepthRange'}, 863 'DepthRangef': {'DecoderFunc': 'glDepthRange'},
864 'DisableVertexAttribArray': {'DecoderFunc': 'DoDisableVertexAttribArray'}, 864 'DisableVertexAttribArray': {'DecoderFunc': 'DoDisableVertexAttribArray'},
865 'DrawArrays': { 'DecoderFunc': 'DoDrawArrays', 'unit_test': False}, 865 'DrawArrays': { 'DecoderFunc': 'DoDrawArrays', 'unit_test': False},
866 'DrawElements': { 866 'DrawElements': {
867 'type': 'Manual', 867 'type': 'Manual',
868 'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset', 868 'cmd_args': 'GLenum mode, GLsizei count, GLenum type, GLuint index_offset',
869 }, 869 },
870 'EnableVertexAttribArray': {'DecoderFunc': 'DoEnableVertexAttribArray'}, 870 'EnableVertexAttribArray': {'DecoderFunc': 'DoEnableVertexAttribArray'},
871 'Flush': {'ImplFunc': False},
871 'Finish': {'ImplFunc': False}, 872 'Finish': {'ImplFunc': False},
872 'FramebufferRenderbuffer': {'DecoderFunc': 'glFramebufferRenderbufferEXT'}, 873 'FramebufferRenderbuffer': {'DecoderFunc': 'glFramebufferRenderbufferEXT'},
873 'FramebufferTexture2D': {'DecoderFunc': 'glFramebufferTexture2DEXT'}, 874 'FramebufferTexture2D': {'DecoderFunc': 'glFramebufferTexture2DEXT'},
874 'GenerateMipmap': {'DecoderFunc': 'glGenerateMipmapEXT'}, 875 'GenerateMipmap': {'DecoderFunc': 'glGenerateMipmapEXT'},
875 'GenBuffers': {'type': 'GENn', 'gl_test_func': 'glGenBuffersARB'}, 876 'GenBuffers': {'type': 'GENn', 'gl_test_func': 'glGenBuffersARB'},
876 'GenFramebuffers': {'type': 'GENn', 'gl_test_func': 'glGenFramebuffersEXT'}, 877 'GenFramebuffers': {'type': 'GENn', 'gl_test_func': 'glGenFramebuffersEXT'},
877 'GenRenderbuffers': {'type': 'GENn', 'gl_test_func': 'glGenRenderbuffersEXT'}, 878 'GenRenderbuffers': {'type': 'GENn', 'gl_test_func': 'glGenRenderbuffersEXT'},
878 'GenTextures': {'type': 'GENn', 'gl_test_func': 'glGenTextures'}, 879 'GenTextures': {'type': 'GENn', 'gl_test_func': 'glGenTextures'},
879 'GetActiveAttrib': {'type': 'Custom'}, 880 'GetActiveAttrib': {'type': 'Custom'},
880 'GetActiveUniform': {'type': 'Custom'}, 881 'GetActiveUniform': {'type': 'Custom'},
(...skipping 3009 matching lines...) Expand 10 before | Expand all | Expand 10 after
3890 3891
3891 if options.generate_command_id_tests: 3892 if options.generate_command_id_tests:
3892 gen.WriteCommandIdTest("common/gles2_cmd_id_test_autogen.h") 3893 gen.WriteCommandIdTest("common/gles2_cmd_id_test_autogen.h")
3893 3894
3894 if gen.errors > 0: 3895 if gen.errors > 0:
3895 print "%d errors" % gen.errors 3896 print "%d errors" % gen.errors
3896 sys.exit(1) 3897 sys.exit(1)
3897 3898
3898 if __name__ == '__main__': 3899 if __name__ == '__main__':
3899 main(sys.argv[1:]) 3900 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698