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

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

Issue 12581004: Move InsertSyncPoint to GLES2Interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/client_test_helper.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 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 'unit_test': False, 2320 'unit_test': False,
2321 'client_test': False, 2321 'client_test': False,
2322 'extension': True, 2322 'extension': True,
2323 }, 2323 },
2324 'LoseContextCHROMIUM': { 2324 'LoseContextCHROMIUM': {
2325 'type': 'Manual', 2325 'type': 'Manual',
2326 'impl_func': True, 2326 'impl_func': True,
2327 'extension': True, 2327 'extension': True,
2328 'chromium': True, 2328 'chromium': True,
2329 }, 2329 },
2330 'InsertSyncPointCHROMIUM': {
2331 'type': 'HandWritten',
2332 'impl_func': False,
2333 'extension': True,
2334 'chromium': True,
2335 },
2330 'WaitSyncPointCHROMIUM': { 2336 'WaitSyncPointCHROMIUM': {
2331 'type': 'Custom', 2337 'type': 'Custom',
2332 'impl_func': True, 2338 'impl_func': True,
2333 'extension': True, 2339 'extension': True,
2334 'chromium': True, 2340 'chromium': True,
2335 }, 2341 },
2336 } 2342 }
2337 2343
2338 2344
2339 def Grouper(n, iterable, fillvalue=None): 2345 def Grouper(n, iterable, fillvalue=None):
(...skipping 5272 matching lines...) Expand 10 before | Expand all | Expand 10 after
7612 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7618 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7613 7619
7614 if gen.errors > 0: 7620 if gen.errors > 0:
7615 print "%d errors" % gen.errors 7621 print "%d errors" % gen.errors
7616 return 1 7622 return 1
7617 return 0 7623 return 0
7618 7624
7619 7625
7620 if __name__ == '__main__': 7626 if __name__ == '__main__':
7621 sys.exit(main(sys.argv[1:])) 7627 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698