Chromium Code Reviews| 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 4111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4122 'trace_level': 2, | 4122 'trace_level': 2, |
| 4123 }, | 4123 }, |
| 4124 'ScheduleOverlayPlaneCHROMIUM': { | 4124 'ScheduleOverlayPlaneCHROMIUM': { |
| 4125 'type': 'Custom', | 4125 'type': 'Custom', |
| 4126 'impl_func': True, | 4126 'impl_func': True, |
| 4127 'unit_test': False, | 4127 'unit_test': False, |
| 4128 'client_test': False, | 4128 'client_test': False, |
| 4129 'extension': 'CHROMIUM_schedule_overlay_plane', | 4129 'extension': 'CHROMIUM_schedule_overlay_plane', |
| 4130 'chromium': True, | 4130 'chromium': True, |
| 4131 }, | 4131 }, |
| 4132 'ScheduleSolidColorOverlayPlaneCHROMIUM': { | |
| 4133 'type': 'Custom', | |
| 4134 'impl_func': True, | |
| 4135 'unit_test': False, | |
| 4136 'client_test': False, | |
|
ccameron
2015/10/08 23:04:30
This is still using the CHROMIUM_schedule_overlay_
| |
| 4137 'extension': 'CHROMIUM_schedule_overlay_plane', | |
| 4138 'chromium': True, | |
| 4139 }, | |
| 4132 'MatrixLoadfCHROMIUM': { | 4140 'MatrixLoadfCHROMIUM': { |
| 4133 'type': 'PUT', | 4141 'type': 'PUT', |
| 4134 'count': 16, | 4142 'count': 16, |
| 4135 'data_type': 'GLfloat', | 4143 'data_type': 'GLfloat', |
| 4136 'decoder_func': 'DoMatrixLoadfCHROMIUM', | 4144 'decoder_func': 'DoMatrixLoadfCHROMIUM', |
| 4137 'gl_test_func': 'glMatrixLoadfEXT', | 4145 'gl_test_func': 'glMatrixLoadfEXT', |
| 4138 'chromium': True, | 4146 'chromium': True, |
| 4139 'extension': 'CHROMIUM_path_rendering', | 4147 'extension': 'CHROMIUM_path_rendering', |
| 4140 'extension_flag': 'chromium_path_rendering', | 4148 'extension_flag': 'chromium_path_rendering', |
| 4141 }, | 4149 }, |
| (...skipping 6887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 11029 Format(gen.generated_cpp_filenames) | 11037 Format(gen.generated_cpp_filenames) |
| 11030 | 11038 |
| 11031 if gen.errors > 0: | 11039 if gen.errors > 0: |
| 11032 print "%d errors" % gen.errors | 11040 print "%d errors" % gen.errors |
| 11033 return 1 | 11041 return 1 |
| 11034 return 0 | 11042 return 0 |
| 11035 | 11043 |
| 11036 | 11044 |
| 11037 if __name__ == '__main__': | 11045 if __name__ == '__main__': |
| 11038 sys.exit(main(sys.argv[1:])) | 11046 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |