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