| 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 4058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4069 }, | 4069 }, |
| 4070 'InsertSyncPointCHROMIUM': { | 4070 'InsertSyncPointCHROMIUM': { |
| 4071 'type': 'HandWritten', | 4071 'type': 'HandWritten', |
| 4072 'impl_func': False, | 4072 'impl_func': False, |
| 4073 'extension': "CHROMIUM_sync_point", | 4073 'extension': "CHROMIUM_sync_point", |
| 4074 'chromium': True, | 4074 'chromium': True, |
| 4075 'trace_level': 1, | 4075 'trace_level': 1, |
| 4076 }, | 4076 }, |
| 4077 'WaitSyncPointCHROMIUM': { | 4077 'WaitSyncPointCHROMIUM': { |
| 4078 'type': 'Custom', | 4078 'type': 'Custom', |
| 4079 'impl_func': True, | 4079 'impl_func': False, |
| 4080 'cmd_args': 'GLuint sync_point', |
| 4080 'extension': "CHROMIUM_sync_point", | 4081 'extension': "CHROMIUM_sync_point", |
| 4081 'chromium': True, | 4082 'chromium': True, |
| 4082 'trace_level': 1, | 4083 'trace_level': 1, |
| 4083 }, | 4084 }, |
| 4084 'InsertFenceSyncCHROMIUM': { | 4085 'InsertFenceSyncCHROMIUM': { |
| 4085 'type': 'Custom', | 4086 'type': 'Custom', |
| 4086 'impl_func': False, | 4087 'impl_func': False, |
| 4087 'cmd_args': 'GLuint64 release_count', | 4088 'cmd_args': 'GLuint64 release_count', |
| 4088 'extension': "CHROMIUM_sync_point", | 4089 'extension': "CHROMIUM_sync_point", |
| 4089 'chromium': True, | 4090 'chromium': True, |
| (...skipping 6939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11029 Format(gen.generated_cpp_filenames) | 11030 Format(gen.generated_cpp_filenames) |
| 11030 | 11031 |
| 11031 if gen.errors > 0: | 11032 if gen.errors > 0: |
| 11032 print "%d errors" % gen.errors | 11033 print "%d errors" % gen.errors |
| 11033 return 1 | 11034 return 1 |
| 11034 return 0 | 11035 return 0 |
| 11035 | 11036 |
| 11036 | 11037 |
| 11037 if __name__ == '__main__': | 11038 if __name__ == '__main__': |
| 11038 sys.exit(main(sys.argv[1:])) | 11039 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |