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 3982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3993 'ShallowFlushCHROMIUM': { | 3993 'ShallowFlushCHROMIUM': { |
3994 'impl_func': False, | 3994 'impl_func': False, |
3995 'gen_cmd': False, | 3995 'gen_cmd': False, |
3996 'extension': "CHROMIUM_miscellaneous", | 3996 'extension': "CHROMIUM_miscellaneous", |
3997 'chromium': True, | 3997 'chromium': True, |
3998 'client_test': False, | 3998 'client_test': False, |
3999 }, | 3999 }, |
4000 'OrderingBarrierCHROMIUM': { | 4000 'OrderingBarrierCHROMIUM': { |
4001 'impl_func': False, | 4001 'impl_func': False, |
4002 'gen_cmd': False, | 4002 'gen_cmd': False, |
4003 'extension': True, | 4003 'extension': "CHROMIUM_miscellaneous", |
4004 'chromium': True, | 4004 'chromium': True, |
4005 'client_test': False, | 4005 'client_test': False, |
4006 }, | 4006 }, |
4007 'TraceBeginCHROMIUM': { | 4007 'TraceBeginCHROMIUM': { |
4008 'type': 'Custom', | 4008 'type': 'Custom', |
4009 'impl_func': False, | 4009 'impl_func': False, |
4010 'client_test': False, | 4010 'client_test': False, |
4011 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', | 4011 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', |
4012 'extension': True, | 4012 'extension': True, |
4013 'chromium': True, | 4013 'chromium': True, |
(...skipping 7033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11047 Format(gen.generated_cpp_filenames) | 11047 Format(gen.generated_cpp_filenames) |
11048 | 11048 |
11049 if gen.errors > 0: | 11049 if gen.errors > 0: |
11050 print "%d errors" % gen.errors | 11050 print "%d errors" % gen.errors |
11051 return 1 | 11051 return 1 |
11052 return 0 | 11052 return 0 |
11053 | 11053 |
11054 | 11054 |
11055 if __name__ == '__main__': | 11055 if __name__ == '__main__': |
11056 sys.exit(main(sys.argv[1:])) | 11056 sys.exit(main(sys.argv[1:])) |
OLD | NEW |