| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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:])) |
| OLD | NEW |