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

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

Issue 954183006: Add glDrawRangeElements to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and update CL description Created 5 years, 9 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
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | 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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """code generator for GLES2 command buffers.""" 6 """code generator for GLES2 command buffers."""
7 7
8 import itertools 8 import itertools
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 1984 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 'trace_level': 2, 1995 'trace_level': 2,
1996 }, 1996 },
1997 'DrawElements': { 1997 'DrawElements': {
1998 'type': 'Manual', 1998 'type': 'Manual',
1999 'cmd_args': 'GLenumDrawMode mode, GLsizei count, ' 1999 'cmd_args': 'GLenumDrawMode mode, GLsizei count, '
2000 'GLenumIndexType type, GLuint index_offset', 2000 'GLenumIndexType type, GLuint index_offset',
2001 'client_test': False, 2001 'client_test': False,
2002 'defer_draws': True, 2002 'defer_draws': True,
2003 'trace_level': 2, 2003 'trace_level': 2,
2004 }, 2004 },
2005 'DrawRangeElements': {
2006 'type': 'Manual',
2007 'gen_cmd': 'False',
2008 'unsafe': True,
2009 },
2005 'Enable': { 2010 'Enable': {
2006 'decoder_func': 'DoEnable', 2011 'decoder_func': 'DoEnable',
2007 'impl_func': False, 2012 'impl_func': False,
2008 'client_test': False, 2013 'client_test': False,
2009 }, 2014 },
2010 'EnableVertexAttribArray': { 2015 'EnableVertexAttribArray': {
2011 'decoder_func': 'DoEnableVertexAttribArray', 2016 'decoder_func': 'DoEnableVertexAttribArray',
2012 'impl_decl': False, 2017 'impl_decl': False,
2013 }, 2018 },
2014 'FenceSync': { 2019 'FenceSync': {
(...skipping 8304 matching lines...) Expand 10 before | Expand all | Expand 10 after
10319 Format(gen.generated_cpp_filenames) 10324 Format(gen.generated_cpp_filenames)
10320 10325
10321 if gen.errors > 0: 10326 if gen.errors > 0:
10322 print "%d errors" % gen.errors 10327 print "%d errors" % gen.errors
10323 return 1 10328 return 1
10324 return 0 10329 return 0
10325 10330
10326 10331
10327 if __name__ == '__main__': 10332 if __name__ == '__main__':
10328 sys.exit(main(sys.argv[1:])) 10333 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698