| 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 4387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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': 'GLsizei num_textures, 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, ' |
| 4409 'GLuint shm_offset', | 4409 'GLsizei color_space_size, GLuint shm_id, 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', |
| 4418 }, | 4418 }, |
| 4419 'MatrixLoadfCHROMIUM': { | 4419 'MatrixLoadfCHROMIUM': { |
| (...skipping 6854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11274 Format(gen.generated_cpp_filenames) | 11274 Format(gen.generated_cpp_filenames) |
| 11275 | 11275 |
| 11276 if gen.errors > 0: | 11276 if gen.errors > 0: |
| 11277 print "%d errors" % gen.errors | 11277 print "%d errors" % gen.errors |
| 11278 return 1 | 11278 return 1 |
| 11279 return 0 | 11279 return 0 |
| 11280 | 11280 |
| 11281 | 11281 |
| 11282 if __name__ == '__main__': | 11282 if __name__ == '__main__': |
| 11283 sys.exit(main(sys.argv[1:])) | 11283 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |