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

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

Issue 2849743002: Allow binding multiple textures to one DC Layer overlay. (Closed)
Patch Set: improve test Created 3 years, 7 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 4382 matching lines...) Expand 10 before | Expand all | Expand 10 after
4393 'unit_test': False, 4393 'unit_test': False,
4394 }, 4394 },
4395 'ScheduleDCLayerSharedStateCHROMIUM': { 4395 'ScheduleDCLayerSharedStateCHROMIUM': {
4396 'type': 'Custom', 4396 'type': 'Custom',
4397 'impl_func': False, 4397 'impl_func': False,
4398 'client_test': False, 4398 'client_test': False,
4399 'cmd_args': 'GLfloat opacity, GLboolean is_clipped, ' 4399 'cmd_args': 'GLfloat opacity, GLboolean is_clipped, '
4400 'GLint z_order, GLuint shm_id, GLuint shm_offset', 4400 'GLint z_order, GLuint shm_id, GLuint shm_offset',
4401 'extension': 'CHROMIUM_schedule_ca_layer', 4401 'extension': 'CHROMIUM_schedule_ca_layer',
4402 }, 4402 },
4403 'SetDCLayerTextureCHROMIUM': {
4404 'decoder_func': 'DoSetDCLayerTextureCHROMIUM',
4405 'client_test': False,
4406 'cmd_args': 'GLuint index, GLuint contents_texture_id',
4407 'extension': 'CHROMIUM_schedule_ca_layer',
4408 'expectation': False,
4409 },
4403 'ScheduleDCLayerCHROMIUM': { 4410 'ScheduleDCLayerCHROMIUM': {
4404 'type': 'Custom', 4411 'type': 'Custom',
4405 'impl_func': False, 4412 'impl_func': False,
4406 'client_test': False, 4413 'client_test': False,
4407 'cmd_args': 'GLuint contents_texture_id, GLuint background_color, ' 4414 'cmd_args': 'GLuint background_color, '
4408 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, ' 4415 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, '
4409 'GLuint shm_offset', 4416 'GLuint shm_offset',
4410 'extension': 'CHROMIUM_schedule_ca_layer', 4417 'extension': 'CHROMIUM_schedule_ca_layer',
4411 }, 4418 },
4412 'CommitOverlayPlanesCHROMIUM': { 4419 'CommitOverlayPlanesCHROMIUM': {
4413 'impl_func': False, 4420 'impl_func': False,
4414 'decoder_func': 'DoCommitOverlayPlanes', 4421 'decoder_func': 'DoCommitOverlayPlanes',
4415 'unit_test': False, 4422 'unit_test': False,
4416 'client_test': False, 4423 'client_test': False,
4417 'extension': 'CHROMIUM_commit_overlay_planes', 4424 'extension': 'CHROMIUM_commit_overlay_planes',
(...skipping 6836 matching lines...) Expand 10 before | Expand all | Expand 10 after
11254 Format(gen.generated_cpp_filenames) 11261 Format(gen.generated_cpp_filenames)
11255 11262
11256 if gen.errors > 0: 11263 if gen.errors > 0:
11257 print "%d errors" % gen.errors 11264 print "%d errors" % gen.errors
11258 return 1 11265 return 1
11259 return 0 11266 return 0
11260 11267
11261 11268
11262 if __name__ == '__main__': 11269 if __name__ == '__main__':
11263 sys.exit(main(sys.argv[1:])) 11270 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698