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

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: Created 8 years 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
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 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2237 'TraceBeginCHROMIUM': { 2237 'TraceBeginCHROMIUM': {
2238 'type': 'Custom', 2238 'type': 'Custom',
2239 'impl_func': False, 2239 'impl_func': False,
2240 'immediate': False, 2240 'immediate': False,
2241 'client_test': False, 2241 'client_test': False,
2242 'cmd_args': 'GLuint bucket_id', 2242 'cmd_args': 'GLuint bucket_id',
2243 'extension': True, 2243 'extension': True,
2244 'chromium': True, 2244 'chromium': True,
2245 }, 2245 },
2246 'TraceEndCHROMIUM': { 2246 'TraceEndCHROMIUM': {
2247 'impl_func': False,
2248 'immediate': False,
2249 'client_test': False,
2247 'decoder_func': 'DoTraceEndCHROMIUM', 2250 'decoder_func': 'DoTraceEndCHROMIUM',
2248 'unit_test': False, 2251 'unit_test': False,
2249 'extension': True, 2252 'extension': True,
2250 'chromium': True, 2253 'chromium': True,
2251 }, 2254 },
2252 'AsyncTexImage2DCHROMIUM': { 2255 'AsyncTexImage2DCHROMIUM': {
2253 'type': 'Manual', 2256 'type': 'Manual',
2254 'immediate': False, 2257 'immediate': False,
2255 'client_test': False, 2258 'client_test': False,
2256 'extension': True, 2259 'extension': True,
(...skipping 5211 matching lines...) Expand 10 before | Expand all | Expand 10 after
7468 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") 7471 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h")
7469 7472
7470 if gen.errors > 0: 7473 if gen.errors > 0:
7471 print "%d errors" % gen.errors 7474 print "%d errors" % gen.errors
7472 return 1 7475 return 1
7473 return 0 7476 return 0
7474 7477
7475 7478
7476 if __name__ == '__main__': 7479 if __name__ == '__main__':
7477 sys.exit(main(sys.argv[1:])) 7480 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.h » ('j') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698