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

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: put texture id array in ScheduleDCLayer 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
« no previous file with comments | « cc/output/gl_renderer.cc ('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 4386 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'ScheduleDCLayerCHROMIUM': { 4403 'ScheduleDCLayerCHROMIUM': {
4404 'type': 'Custom', 4404 'type': 'Custom',
4405 'impl_func': False, 4405 'impl_func': False,
4406 'client_test': False, 4406 'client_test': False,
4407 'cmd_args': 'GLuint contents_texture_id, GLuint background_color, ' 4407 'cmd_args': 'GLsizei num_textures, GLuint background_color, '
4408 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, ' 4408 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, '
4409 'GLuint shm_offset', 4409 'GLuint shm_offset',
4410 'extension': 'CHROMIUM_schedule_ca_layer', 4410 'extension': 'CHROMIUM_schedule_ca_layer',
4411 }, 4411 },
4412 'CommitOverlayPlanesCHROMIUM': { 4412 'CommitOverlayPlanesCHROMIUM': {
4413 'impl_func': False, 4413 'impl_func': False,
4414 'decoder_func': 'DoCommitOverlayPlanes', 4414 'decoder_func': 'DoCommitOverlayPlanes',
4415 'unit_test': False, 4415 'unit_test': False,
4416 'client_test': False, 4416 'client_test': False,
4417 'extension': 'CHROMIUM_commit_overlay_planes', 4417 'extension': 'CHROMIUM_commit_overlay_planes',
(...skipping 6836 matching lines...) Expand 10 before | Expand all | Expand 10 after
11254 Format(gen.generated_cpp_filenames) 11254 Format(gen.generated_cpp_filenames)
11255 11255
11256 if gen.errors > 0: 11256 if gen.errors > 0:
11257 print "%d errors" % gen.errors 11257 print "%d errors" % gen.errors
11258 return 1 11258 return 1
11259 return 0 11259 return 0
11260 11260
11261 11261
11262 if __name__ == '__main__': 11262 if __name__ == '__main__':
11263 sys.exit(main(sys.argv[1:])) 11263 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('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