| 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 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4083 'chromium': True, | 4083 'chromium': True, |
| 4084 'trace_level': 1, | 4084 'trace_level': 1, |
| 4085 }, | 4085 }, |
| 4086 'WaitSyncPointCHROMIUM': { | 4086 'WaitSyncPointCHROMIUM': { |
| 4087 'type': 'Custom', | 4087 'type': 'Custom', |
| 4088 'impl_func': True, | 4088 'impl_func': True, |
| 4089 'extension': "CHROMIUM_sync_point", | 4089 'extension': "CHROMIUM_sync_point", |
| 4090 'chromium': True, | 4090 'chromium': True, |
| 4091 'trace_level': 1, | 4091 'trace_level': 1, |
| 4092 }, | 4092 }, |
| 4093 'InsertFenceSyncCHROMIUM': { |
| 4094 'type': 'Custom', |
| 4095 'impl_func': False, |
| 4096 'cmd_args': 'GLuint release_count', |
| 4097 'extension': "CHROMIUM_sync_point", |
| 4098 'chromium': True, |
| 4099 'trace_level': 1, |
| 4100 }, |
| 4101 'GenSyncTokenCHROMIUM': { |
| 4102 'type': 'Custom', |
| 4103 'impl_func': False, |
| 4104 'extension': "CHROMIUM_sync_point", |
| 4105 'chromium': True, |
| 4106 }, |
| 4107 'WaitSyncTokenCHROMIUM': { |
| 4108 'type': 'Custom', |
| 4109 'impl_func': False, |
| 4110 'cmd_args': 'GLuint namespace_id, ' |
| 4111 'GLuint64 command_buffer_id, ' |
| 4112 'GLuint release_count', |
| 4113 'client_test': False, |
| 4114 'extension': "CHROMIUM_sync_point", |
| 4115 'chromium': True, |
| 4116 }, |
| 4093 'DiscardBackbufferCHROMIUM': { | 4117 'DiscardBackbufferCHROMIUM': { |
| 4094 'type': 'Custom', | 4118 'type': 'Custom', |
| 4095 'impl_func': True, | 4119 'impl_func': True, |
| 4096 'extension': True, | 4120 'extension': True, |
| 4097 'chromium': True, | 4121 'chromium': True, |
| 4098 'trace_level': 2, | 4122 'trace_level': 2, |
| 4099 }, | 4123 }, |
| 4100 'ScheduleOverlayPlaneCHROMIUM': { | 4124 'ScheduleOverlayPlaneCHROMIUM': { |
| 4101 'type': 'Custom', | 4125 'type': 'Custom', |
| 4102 'impl_func': True, | 4126 'impl_func': True, |
| (...skipping 6902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11005 Format(gen.generated_cpp_filenames) | 11029 Format(gen.generated_cpp_filenames) |
| 11006 | 11030 |
| 11007 if gen.errors > 0: | 11031 if gen.errors > 0: |
| 11008 print "%d errors" % gen.errors | 11032 print "%d errors" % gen.errors |
| 11009 return 1 | 11033 return 1 |
| 11010 return 0 | 11034 return 0 |
| 11011 | 11035 |
| 11012 | 11036 |
| 11013 if __name__ == '__main__': | 11037 if __name__ == '__main__': |
| 11014 sys.exit(main(sys.argv[1:])) | 11038 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |