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

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

Issue 12330129: Make WaitSyncPoint go through command buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 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 | Annotate | Revision Log
« no previous file with comments | « gpu/GLES2/gl2extchromium.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 2295 matching lines...) Expand 10 before | Expand all | Expand 10 after
2306 'unit_test': False, 2306 'unit_test': False,
2307 'client_test': False, 2307 'client_test': False,
2308 'extension': True, 2308 'extension': True,
2309 }, 2309 },
2310 'LoseContextCHROMIUM': { 2310 'LoseContextCHROMIUM': {
2311 'type': 'Manual', 2311 'type': 'Manual',
2312 'impl_func': True, 2312 'impl_func': True,
2313 'extension': True, 2313 'extension': True,
2314 'chromium': True, 2314 'chromium': True,
2315 }, 2315 },
2316 'WaitSyncPointCHROMIUM': {
2317 'type': 'Custom',
2318 'impl_func': True,
2319 'extension': True,
2320 'chromium': True,
2321 },
2316 } 2322 }
2317 2323
2318 2324
2319 def Grouper(n, iterable, fillvalue=None): 2325 def Grouper(n, iterable, fillvalue=None):
2320 """Collect data into fixed-length chunks or blocks""" 2326 """Collect data into fixed-length chunks or blocks"""
2321 args = [iter(iterable)] * n 2327 args = [iter(iterable)] * n
2322 return itertools.izip_longest(fillvalue=fillvalue, *args) 2328 return itertools.izip_longest(fillvalue=fillvalue, *args)
2323 2329
2324 2330
2325 def SplitWords(input_string): 2331 def SplitWords(input_string):
(...skipping 5241 matching lines...) Expand 10 before | Expand all | Expand 10 after
7567 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7573 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7568 7574
7569 if gen.errors > 0: 7575 if gen.errors > 0:
7570 print "%d errors" % gen.errors 7576 print "%d errors" % gen.errors
7571 return 1 7577 return 1
7572 return 0 7578 return 0
7573 7579
7574 7580
7575 if __name__ == '__main__': 7581 if __name__ == '__main__':
7576 sys.exit(main(sys.argv[1:])) 7582 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.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