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 3960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3971 'ShallowFlushCHROMIUM': { | 3971 'ShallowFlushCHROMIUM': { |
3972 'impl_func': False, | 3972 'impl_func': False, |
3973 'gen_cmd': False, | 3973 'gen_cmd': False, |
3974 'extension': "CHROMIUM_miscellaneous", | 3974 'extension': "CHROMIUM_miscellaneous", |
3975 'chromium': True, | 3975 'chromium': True, |
3976 'client_test': False, | 3976 'client_test': False, |
3977 }, | 3977 }, |
3978 'OrderingBarrierCHROMIUM': { | 3978 'OrderingBarrierCHROMIUM': { |
3979 'impl_func': False, | 3979 'impl_func': False, |
3980 'gen_cmd': False, | 3980 'gen_cmd': False, |
3981 'extension': "CHROMIUM_miscellaneous", | 3981 'extension': True, |
3982 'chromium': True, | 3982 'chromium': True, |
3983 'client_test': False, | 3983 'client_test': False, |
3984 }, | 3984 }, |
3985 'TraceBeginCHROMIUM': { | 3985 'TraceBeginCHROMIUM': { |
3986 'type': 'Custom', | 3986 'type': 'Custom', |
3987 'impl_func': False, | 3987 'impl_func': False, |
3988 'client_test': False, | 3988 'client_test': False, |
3989 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', | 3989 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', |
3990 'extension': True, | 3990 'extension': True, |
3991 'chromium': True, | 3991 'chromium': True, |
(...skipping 7024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11016 Format(gen.generated_cpp_filenames) | 11016 Format(gen.generated_cpp_filenames) |
11017 | 11017 |
11018 if gen.errors > 0: | 11018 if gen.errors > 0: |
11019 print "%d errors" % gen.errors | 11019 print "%d errors" % gen.errors |
11020 return 1 | 11020 return 1 |
11021 return 0 | 11021 return 0 |
11022 | 11022 |
11023 | 11023 |
11024 if __name__ == '__main__': | 11024 if __name__ == '__main__': |
11025 sys.exit(main(sys.argv[1:])) | 11025 sys.exit(main(sys.argv[1:])) |
OLD | NEW |