| 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 4442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4453 'extension': 'CHROMIUM_schedule_overlay_plane', | 4453 'extension': 'CHROMIUM_schedule_overlay_plane', |
| 4454 'chromium': True, | 4454 'chromium': True, |
| 4455 }, | 4455 }, |
| 4456 'ScheduleCALayerCHROMIUM': { | 4456 'ScheduleCALayerCHROMIUM': { |
| 4457 'type': 'Custom', | 4457 'type': 'Custom', |
| 4458 'impl_func': False, | 4458 'impl_func': False, |
| 4459 'client_test': False, | 4459 'client_test': False, |
| 4460 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' | 4460 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' |
| 4461 'GLuint background_color, GLuint edge_aa_mask, ' | 4461 'GLuint background_color, GLuint edge_aa_mask, ' |
| 4462 'GLboolean is_clipped, GLint sorting_context_id, ' | 4462 'GLboolean is_clipped, GLint sorting_context_id, ' |
| 4463 'GLuint shm_id, GLuint shm_offset', | 4463 'GLuint filter, GLuint shm_id, GLuint shm_offset', |
| 4464 'extension': 'CHROMIUM_schedule_ca_layer', | 4464 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4465 'chromium': True, | 4465 'chromium': True, |
| 4466 }, | 4466 }, |
| 4467 'CommitOverlayPlanesCHROMIUM': { | 4467 'CommitOverlayPlanesCHROMIUM': { |
| 4468 'impl_func': False, | 4468 'impl_func': False, |
| 4469 'decoder_func': 'DoCommitOverlayPlanes', | 4469 'decoder_func': 'DoCommitOverlayPlanes', |
| 4470 'unit_test': False, | 4470 'unit_test': False, |
| 4471 'client_test': False, | 4471 'client_test': False, |
| 4472 'extension': 'CHROMIUM_commit_overlay_planes', | 4472 'extension': 'CHROMIUM_commit_overlay_planes', |
| 4473 'chromium': True, | 4473 'chromium': True, |
| (...skipping 7103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11577 Format(gen.generated_cpp_filenames) | 11577 Format(gen.generated_cpp_filenames) |
| 11578 | 11578 |
| 11579 if gen.errors > 0: | 11579 if gen.errors > 0: |
| 11580 print "%d errors" % gen.errors | 11580 print "%d errors" % gen.errors |
| 11581 return 1 | 11581 return 1 |
| 11582 return 0 | 11582 return 0 |
| 11583 | 11583 |
| 11584 | 11584 |
| 11585 if __name__ == '__main__': | 11585 if __name__ == '__main__': |
| 11586 sys.exit(main(sys.argv[1:])) | 11586 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |