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

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

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.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 4508 matching lines...) Expand 10 before | Expand all | Expand 10 after
4519 'gl_test_func': 'DoBindFragmentInputLocationCHROMIUM', 4519 'gl_test_func': 'DoBindFragmentInputLocationCHROMIUM',
4520 'extension': 'CHROMIUM_path_rendering', 4520 'extension': 'CHROMIUM_path_rendering',
4521 'extension_flag': 'chromium_path_rendering', 4521 'extension_flag': 'chromium_path_rendering',
4522 }, 4522 },
4523 'ProgramPathFragmentInputGenCHROMIUM': { 4523 'ProgramPathFragmentInputGenCHROMIUM': {
4524 'type': 'Custom', 4524 'type': 'Custom',
4525 'data_transfer_methods': ['shm'], 4525 'data_transfer_methods': ['shm'],
4526 'extension': 'CHROMIUM_path_rendering', 4526 'extension': 'CHROMIUM_path_rendering',
4527 'extension_flag': 'chromium_path_rendering', 4527 'extension_flag': 'chromium_path_rendering',
4528 }, 4528 },
4529 'SetDrawRectangleCHROMIUM': {
4530 'decoder_func': 'DoSetDrawRectangleCHROMIUM',
4531 'extension': 'CHROMIUM_set_draw_rectangle',
4532 },
4529 } 4533 }
4530 4534
4531 4535
4532 def Grouper(n, iterable, fillvalue=None): 4536 def Grouper(n, iterable, fillvalue=None):
4533 """Collect data into fixed-length chunks or blocks""" 4537 """Collect data into fixed-length chunks or blocks"""
4534 args = [iter(iterable)] * n 4538 args = [iter(iterable)] * n
4535 return itertools.izip_longest(fillvalue=fillvalue, *args) 4539 return itertools.izip_longest(fillvalue=fillvalue, *args)
4536 4540
4537 4541
4538 def SplitWords(input_string): 4542 def SplitWords(input_string):
(...skipping 6684 matching lines...) Expand 10 before | Expand all | Expand 10 after
11223 Format(gen.generated_cpp_filenames) 11227 Format(gen.generated_cpp_filenames)
11224 11228
11225 if gen.errors > 0: 11229 if gen.errors > 0:
11226 print "%d errors" % gen.errors 11230 print "%d errors" % gen.errors
11227 return 1 11231 return 1
11228 return 0 11232 return 0
11229 11233
11230 11234
11231 if __name__ == '__main__': 11235 if __name__ == '__main__':
11232 sys.exit(main(sys.argv[1:])) 11236 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.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