| 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 4237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4248 'unit_test': False, | 4248 'unit_test': False, |
| 4249 'client_test': False, | 4249 'client_test': False, |
| 4250 'extension': 'CHROMIUM_schedule_overlay_plane', | 4250 'extension': 'CHROMIUM_schedule_overlay_plane', |
| 4251 'chromium': True, | 4251 'chromium': True, |
| 4252 }, | 4252 }, |
| 4253 'ScheduleCALayerCHROMIUM': { | 4253 'ScheduleCALayerCHROMIUM': { |
| 4254 'type': 'Custom', | 4254 'type': 'Custom', |
| 4255 'impl_func': False, | 4255 'impl_func': False, |
| 4256 'client_test': False, | 4256 'client_test': False, |
| 4257 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' | 4257 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' |
| 4258 'GLuint background_color, GLuint shm_id, GLuint shm_offset', | 4258 'GLuint background_color, GLuint edge_aa_mask, ' |
| 4259 'GLboolean is_clipped, GLint sorting_context_id, ' |
| 4260 'GLuint shm_id, GLuint shm_offset', |
| 4259 'extension': 'CHROMIUM_schedule_ca_layer', | 4261 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4260 'chromium': True, | 4262 'chromium': True, |
| 4261 }, | 4263 }, |
| 4262 'CommitOverlayPlanesCHROMIUM': { | 4264 'CommitOverlayPlanesCHROMIUM': { |
| 4263 'impl_func': False, | 4265 'impl_func': False, |
| 4264 'decoder_func': 'DoCommitOverlayPlanes', | 4266 'decoder_func': 'DoCommitOverlayPlanes', |
| 4265 'unit_test': False, | 4267 'unit_test': False, |
| 4266 'client_test': False, | 4268 'client_test': False, |
| 4267 'extension': 'CHROMIUM_commit_overlay_planes', | 4269 'extension': 'CHROMIUM_commit_overlay_planes', |
| 4268 'chromium': True, | 4270 'chromium': True, |
| (...skipping 6985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11254 Format(gen.generated_cpp_filenames) | 11256 Format(gen.generated_cpp_filenames) |
| 11255 | 11257 |
| 11256 if gen.errors > 0: | 11258 if gen.errors > 0: |
| 11257 print "%d errors" % gen.errors | 11259 print "%d errors" % gen.errors |
| 11258 return 1 | 11260 return 1 |
| 11259 return 0 | 11261 return 0 |
| 11260 | 11262 |
| 11261 | 11263 |
| 11262 if __name__ == '__main__': | 11264 if __name__ == '__main__': |
| 11263 sys.exit(main(sys.argv[1:])) | 11265 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |