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

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

Issue 11416117: Hookup the GPUTrace events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update the autogen'd files. Created 7 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 | gpu/command_buffer/client/gles2_implementation.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 2256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2267 'TraceBeginCHROMIUM': { 2267 'TraceBeginCHROMIUM': {
2268 'type': 'Custom', 2268 'type': 'Custom',
2269 'impl_func': False, 2269 'impl_func': False,
2270 'immediate': False, 2270 'immediate': False,
2271 'client_test': False, 2271 'client_test': False,
2272 'cmd_args': 'GLuint bucket_id', 2272 'cmd_args': 'GLuint bucket_id',
2273 'extension': True, 2273 'extension': True,
2274 'chromium': True, 2274 'chromium': True,
2275 }, 2275 },
2276 'TraceEndCHROMIUM': { 2276 'TraceEndCHROMIUM': {
2277 'impl_func': False,
2278 'immediate': False,
2279 'client_test': False,
2277 'decoder_func': 'DoTraceEndCHROMIUM', 2280 'decoder_func': 'DoTraceEndCHROMIUM',
2278 'unit_test': False, 2281 'unit_test': False,
2279 'extension': True, 2282 'extension': True,
2280 'chromium': True, 2283 'chromium': True,
2281 }, 2284 },
2282 'AsyncTexImage2DCHROMIUM': { 2285 'AsyncTexImage2DCHROMIUM': {
2283 'type': 'Manual', 2286 'type': 'Manual',
2284 'immediate': False, 2287 'immediate': False,
2285 'client_test': False, 2288 'client_test': False,
2286 'extension': True, 2289 'extension': True,
(...skipping 5277 matching lines...) Expand 10 before | Expand all | Expand 10 after
7564 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7567 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7565 7568
7566 if gen.errors > 0: 7569 if gen.errors > 0:
7567 print "%d errors" % gen.errors 7570 print "%d errors" % gen.errors
7568 return 1 7571 return 1
7569 return 0 7572 return 0
7570 7573
7571 7574
7572 if __name__ == '__main__': 7575 if __name__ == '__main__':
7573 sys.exit(main(sys.argv[1:])) 7576 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698