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

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

Issue 2473973002: NOT for review (for discussion): Query IOSurfaceIsInUse in the browser process
Patch Set: Created 4 years, 1 month 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/gl2extchromium.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('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 4356 matching lines...) Expand 10 before | Expand all | Expand 10 after
4367 'type': 'Custom', 4367 'type': 'Custom',
4368 'impl_func': False, 4368 'impl_func': False,
4369 'client_test': False, 4369 'client_test': False,
4370 'cmd_args': 'GLuint contents_texture_id, GLuint background_color, ' 4370 'cmd_args': 'GLuint contents_texture_id, GLuint background_color, '
4371 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, ' 4371 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, '
4372 'GLuint shm_offset', 4372 'GLuint shm_offset',
4373 'extension': 'CHROMIUM_schedule_ca_layer', 4373 'extension': 'CHROMIUM_schedule_ca_layer',
4374 }, 4374 },
4375 'ScheduleCALayerInUseQueryCHROMIUM': { 4375 'ScheduleCALayerInUseQueryCHROMIUM': {
4376 'type': 'PUTn', 4376 'type': 'PUTn',
4377 'count': 1, 4377 'count': 2,
4378 'decoder_func': 'DoScheduleCALayerInUseQueryCHROMIUM', 4378 'decoder_func': 'DoScheduleCALayerInUseQueryCHROMIUM',
4379 'cmd_args': 'GLsizei count, const GLuint* textures', 4379 'cmd_args': 'GLsizei count, const GLuint* textures_and_handle_requests',
4380 'extension': 'CHROMIUM_schedule_ca_layer', 4380 'extension': 'CHROMIUM_schedule_ca_layer',
4381 'unit_test': False, 4381 'unit_test': False,
4382 }, 4382 },
4383 'CommitOverlayPlanesCHROMIUM': { 4383 'CommitOverlayPlanesCHROMIUM': {
4384 'impl_func': False, 4384 'impl_func': False,
4385 'decoder_func': 'DoCommitOverlayPlanes', 4385 'decoder_func': 'DoCommitOverlayPlanes',
4386 'unit_test': False, 4386 'unit_test': False,
4387 'client_test': False, 4387 'client_test': False,
4388 'extension': 'CHROMIUM_commit_overlay_planes', 4388 'extension': 'CHROMIUM_commit_overlay_planes',
4389 }, 4389 },
(...skipping 6785 matching lines...) Expand 10 before | Expand all | Expand 10 after
11175 Format(gen.generated_cpp_filenames) 11175 Format(gen.generated_cpp_filenames)
11176 11176
11177 if gen.errors > 0: 11177 if gen.errors > 0:
11178 print "%d errors" % gen.errors 11178 print "%d errors" % gen.errors
11179 return 1 11179 return 1
11180 return 0 11180 return 0
11181 11181
11182 11182
11183 if __name__ == '__main__': 11183 if __name__ == '__main__':
11184 sys.exit(main(sys.argv[1:])) 11184 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698