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