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

Powered by Google App Engine
This is Rietveld 408576698