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

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

Issue 222333002: Plumb ScheduleOverlayPlane into the GPU process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 8 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 2520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 'extension': True, 2531 'extension': True,
2532 'chromium': True, 2532 'chromium': True,
2533 'trace_level': 1, 2533 'trace_level': 1,
2534 }, 2534 },
2535 'DiscardBackbufferCHROMIUM': { 2535 'DiscardBackbufferCHROMIUM': {
2536 'type': 'Custom', 2536 'type': 'Custom',
2537 'impl_func': True, 2537 'impl_func': True,
2538 'extension': True, 2538 'extension': True,
2539 'chromium': True, 2539 'chromium': True,
2540 }, 2540 },
2541 'ScheduleOverlayPlaneCHROMIUM': {
2542 'type': 'Custom',
2543 'impl_func': True,
2544 'unit_test': False,
2545 'client_test': False,
2546 'extension': True,
2547 'chromium': True,
2548 },
2541 } 2549 }
2542 2550
2543 2551
2544 def Grouper(n, iterable, fillvalue=None): 2552 def Grouper(n, iterable, fillvalue=None):
2545 """Collect data into fixed-length chunks or blocks""" 2553 """Collect data into fixed-length chunks or blocks"""
2546 args = [iter(iterable)] * n 2554 args = [iter(iterable)] * n
2547 return itertools.izip_longest(fillvalue=fillvalue, *args) 2555 return itertools.izip_longest(fillvalue=fillvalue, *args)
2548 2556
2549 2557
2550 def SplitWords(input_string): 2558 def SplitWords(input_string):
(...skipping 5355 matching lines...) Expand 10 before | Expand all | Expand 10 after
7906 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) 7914 "ppapi/shared_impl/ppb_opengles2_shared.cc"])
7907 7915
7908 if gen.errors > 0: 7916 if gen.errors > 0:
7909 print "%d errors" % gen.errors 7917 print "%d errors" % gen.errors
7910 return 1 7918 return 1
7911 return 0 7919 return 0
7912 7920
7913 7921
7914 if __name__ == '__main__': 7922 if __name__ == '__main__':
7915 sys.exit(main(sys.argv[1:])) 7923 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