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

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

Issue 1887533002: Add plumbing to command buffer for CALayer min and mag filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 4440 matching lines...) Expand 10 before | Expand all | Expand 10 after
4451 'extension': 'CHROMIUM_schedule_overlay_plane', 4451 'extension': 'CHROMIUM_schedule_overlay_plane',
4452 'chromium': True, 4452 'chromium': True,
4453 }, 4453 },
4454 'ScheduleCALayerCHROMIUM': { 4454 'ScheduleCALayerCHROMIUM': {
4455 'type': 'Custom', 4455 'type': 'Custom',
4456 'impl_func': False, 4456 'impl_func': False,
4457 'client_test': False, 4457 'client_test': False,
4458 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' 4458 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, '
4459 'GLuint background_color, GLuint edge_aa_mask, ' 4459 'GLuint background_color, GLuint edge_aa_mask, '
4460 'GLboolean is_clipped, GLint sorting_context_id, ' 4460 'GLboolean is_clipped, GLint sorting_context_id, '
4461 'GLuint shm_id, GLuint shm_offset', 4461 'GLuint shm_id, GLuint shm_offset, GLuint filter',
4462 'extension': 'CHROMIUM_schedule_ca_layer', 4462 'extension': 'CHROMIUM_schedule_ca_layer',
4463 'chromium': True, 4463 'chromium': True,
4464 }, 4464 },
4465 'CommitOverlayPlanesCHROMIUM': { 4465 'CommitOverlayPlanesCHROMIUM': {
4466 'impl_func': False, 4466 'impl_func': False,
4467 'decoder_func': 'DoCommitOverlayPlanes', 4467 'decoder_func': 'DoCommitOverlayPlanes',
4468 'unit_test': False, 4468 'unit_test': False,
4469 'client_test': False, 4469 'client_test': False,
4470 'extension': 'CHROMIUM_commit_overlay_planes', 4470 'extension': 'CHROMIUM_commit_overlay_planes',
4471 'chromium': True, 4471 'chromium': True,
(...skipping 7097 matching lines...) Expand 10 before | Expand all | Expand 10 after
11569 Format(gen.generated_cpp_filenames) 11569 Format(gen.generated_cpp_filenames)
11570 11570
11571 if gen.errors > 0: 11571 if gen.errors > 0:
11572 print "%d errors" % gen.errors 11572 print "%d errors" % gen.errors
11573 return 1 11573 return 1
11574 return 0 11574 return 0
11575 11575
11576 11576
11577 if __name__ == '__main__': 11577 if __name__ == '__main__':
11578 sys.exit(main(sys.argv[1:])) 11578 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698