| 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 4091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4102 }, | 4102 }, |
| 4103 'InsertSyncPointCHROMIUM': { | 4103 'InsertSyncPointCHROMIUM': { |
| 4104 'type': 'HandWritten', | 4104 'type': 'HandWritten', |
| 4105 'impl_func': False, | 4105 'impl_func': False, |
| 4106 'extension': "CHROMIUM_sync_point", | 4106 'extension': "CHROMIUM_sync_point", |
| 4107 'chromium': True, | 4107 'chromium': True, |
| 4108 'trace_level': 1, | 4108 'trace_level': 1, |
| 4109 }, | 4109 }, |
| 4110 'WaitSyncPointCHROMIUM': { | 4110 'WaitSyncPointCHROMIUM': { |
| 4111 'type': 'Custom', | 4111 'type': 'Custom', |
| 4112 'impl_func': True, | 4112 'impl_func': False, |
| 4113 'unit_test': False, |
| 4114 'client_test': False, |
| 4113 'extension': "CHROMIUM_sync_point", | 4115 'extension': "CHROMIUM_sync_point", |
| 4114 'chromium': True, | 4116 'chromium': True, |
| 4115 'trace_level': 1, | 4117 'trace_level': 1, |
| 4116 }, | 4118 }, |
| 4117 'InsertFenceSyncCHROMIUM': { | 4119 'InsertFenceSyncCHROMIUM': { |
| 4118 'type': 'Custom', | 4120 'type': 'Custom', |
| 4119 'impl_func': False, | 4121 'impl_func': False, |
| 4120 'cmd_args': 'GLuint64 release_count', | 4122 'cmd_args': 'GLuint64 release_count', |
| 4121 'extension': "CHROMIUM_sync_point", | 4123 'extension': "CHROMIUM_sync_point", |
| 4122 'chromium': True, | 4124 'chromium': True, |
| (...skipping 6966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11089 Format(gen.generated_cpp_filenames) | 11091 Format(gen.generated_cpp_filenames) |
| 11090 | 11092 |
| 11091 if gen.errors > 0: | 11093 if gen.errors > 0: |
| 11092 print "%d errors" % gen.errors | 11094 print "%d errors" % gen.errors |
| 11093 return 1 | 11095 return 1 |
| 11094 return 0 | 11096 return 0 |
| 11095 | 11097 |
| 11096 | 11098 |
| 11097 if __name__ == '__main__': | 11099 if __name__ == '__main__': |
| 11098 sys.exit(main(sys.argv[1:])) | 11100 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |