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 3988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3999 'ShallowFlushCHROMIUM': { | 3999 'ShallowFlushCHROMIUM': { |
4000 'impl_func': False, | 4000 'impl_func': False, |
4001 'gen_cmd': False, | 4001 'gen_cmd': False, |
4002 'extension': "CHROMIUM_miscellaneous", | 4002 'extension': "CHROMIUM_miscellaneous", |
4003 'chromium': True, | 4003 'chromium': True, |
4004 'client_test': False, | 4004 'client_test': False, |
4005 }, | 4005 }, |
4006 'OrderingBarrierCHROMIUM': { | 4006 'OrderingBarrierCHROMIUM': { |
4007 'impl_func': False, | 4007 'impl_func': False, |
4008 'gen_cmd': False, | 4008 'gen_cmd': False, |
4009 'extension': "CHROMIUM_miscellaneous", | 4009 'extension': True, |
4010 'chromium': True, | 4010 'chromium': True, |
4011 'client_test': False, | 4011 'client_test': False, |
4012 }, | 4012 }, |
4013 'TraceBeginCHROMIUM': { | 4013 'TraceBeginCHROMIUM': { |
4014 'type': 'Custom', | 4014 'type': 'Custom', |
4015 'impl_func': False, | 4015 'impl_func': False, |
4016 'client_test': False, | 4016 'client_test': False, |
4017 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', | 4017 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', |
4018 'extension': True, | 4018 'extension': True, |
4019 'chromium': True, | 4019 'chromium': True, |
(...skipping 7033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11053 Format(gen.generated_cpp_filenames) | 11053 Format(gen.generated_cpp_filenames) |
11054 | 11054 |
11055 if gen.errors > 0: | 11055 if gen.errors > 0: |
11056 print "%d errors" % gen.errors | 11056 print "%d errors" % gen.errors |
11057 return 1 | 11057 return 1 |
11058 return 0 | 11058 return 0 |
11059 | 11059 |
11060 | 11060 |
11061 if __name__ == '__main__': | 11061 if __name__ == '__main__': |
11062 sys.exit(main(sys.argv[1:])) | 11062 sys.exit(main(sys.argv[1:])) |
OLD | NEW |