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 4154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4165 }, | 4165 }, |
4166 'ScheduleCALayerCHROMIUM': { | 4166 'ScheduleCALayerCHROMIUM': { |
4167 'type': 'Custom', | 4167 'type': 'Custom', |
4168 'impl_func': False, | 4168 'impl_func': False, |
4169 'client_test': False, | 4169 'client_test': False, |
4170 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' | 4170 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' |
4171 'GLuint background_color, GLuint shm_id, GLuint shm_offset', | 4171 'GLuint background_color, GLuint shm_id, GLuint shm_offset', |
4172 'extension': 'CHROMIUM_schedule_ca_layer', | 4172 'extension': 'CHROMIUM_schedule_ca_layer', |
4173 'chromium': True, | 4173 'chromium': True, |
4174 }, | 4174 }, |
| 4175 'CommitOverlayPlanesCHROMIUM': { |
| 4176 'impl_func': False, |
| 4177 'decoder_func': 'DoCommitOverlayPlanes', |
| 4178 'unit_test': False, |
| 4179 'client_test': False, |
| 4180 'extension': 'CHROMIUM_commit_overlay_planes', |
| 4181 'chromium': True, |
| 4182 }, |
4175 'MatrixLoadfCHROMIUM': { | 4183 'MatrixLoadfCHROMIUM': { |
4176 'type': 'PUT', | 4184 'type': 'PUT', |
4177 'count': 16, | 4185 'count': 16, |
4178 'data_type': 'GLfloat', | 4186 'data_type': 'GLfloat', |
4179 'decoder_func': 'DoMatrixLoadfCHROMIUM', | 4187 'decoder_func': 'DoMatrixLoadfCHROMIUM', |
4180 'gl_test_func': 'glMatrixLoadfEXT', | 4188 'gl_test_func': 'glMatrixLoadfEXT', |
4181 'chromium': True, | 4189 'chromium': True, |
4182 'extension': 'CHROMIUM_path_rendering', | 4190 'extension': 'CHROMIUM_path_rendering', |
4183 'extension_flag': 'chromium_path_rendering', | 4191 'extension_flag': 'chromium_path_rendering', |
4184 }, | 4192 }, |
(...skipping 6930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11115 Format(gen.generated_cpp_filenames) | 11123 Format(gen.generated_cpp_filenames) |
11116 | 11124 |
11117 if gen.errors > 0: | 11125 if gen.errors > 0: |
11118 print "%d errors" % gen.errors | 11126 print "%d errors" % gen.errors |
11119 return 1 | 11127 return 1 |
11120 return 0 | 11128 return 0 |
11121 | 11129 |
11122 | 11130 |
11123 if __name__ == '__main__': | 11131 if __name__ == '__main__': |
11124 sys.exit(main(sys.argv[1:])) | 11132 sys.exit(main(sys.argv[1:])) |
OLD | NEW |