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 4100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4111 }, | 4111 }, |
4112 'InsertSyncPointCHROMIUM': { | 4112 'InsertSyncPointCHROMIUM': { |
4113 'type': 'HandWritten', | 4113 'type': 'HandWritten', |
4114 'impl_func': False, | 4114 'impl_func': False, |
4115 'extension': "CHROMIUM_sync_point", | 4115 'extension': "CHROMIUM_sync_point", |
4116 'chromium': True, | 4116 'chromium': True, |
4117 'trace_level': 1, | 4117 'trace_level': 1, |
4118 }, | 4118 }, |
4119 'WaitSyncPointCHROMIUM': { | 4119 'WaitSyncPointCHROMIUM': { |
4120 'type': 'Custom', | 4120 'type': 'Custom', |
4121 'impl_func': True, | 4121 'impl_func': False, |
| 4122 'unit_test': False, |
| 4123 'client_test': False, |
4122 'extension': "CHROMIUM_sync_point", | 4124 'extension': "CHROMIUM_sync_point", |
4123 'chromium': True, | 4125 'chromium': True, |
4124 'trace_level': 1, | 4126 'trace_level': 1, |
4125 }, | 4127 }, |
4126 'InsertFenceSyncCHROMIUM': { | 4128 'InsertFenceSyncCHROMIUM': { |
4127 'type': 'Custom', | 4129 'type': 'Custom', |
4128 'impl_func': False, | 4130 'impl_func': False, |
4129 'cmd_args': 'GLuint64 release_count', | 4131 'cmd_args': 'GLuint64 release_count', |
4130 'extension': "CHROMIUM_sync_point", | 4132 'extension': "CHROMIUM_sync_point", |
4131 'chromium': True, | 4133 'chromium': True, |
(...skipping 6980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11112 Format(gen.generated_cpp_filenames) | 11114 Format(gen.generated_cpp_filenames) |
11113 | 11115 |
11114 if gen.errors > 0: | 11116 if gen.errors > 0: |
11115 print "%d errors" % gen.errors | 11117 print "%d errors" % gen.errors |
11116 return 1 | 11118 return 1 |
11117 return 0 | 11119 return 0 |
11118 | 11120 |
11119 | 11121 |
11120 if __name__ == '__main__': | 11122 if __name__ == '__main__': |
11121 sys.exit(main(sys.argv[1:])) | 11123 sys.exit(main(sys.argv[1:])) |
OLD | NEW |