| 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 3740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3751 'chromium': True, | 3751 'chromium': True, |
| 3752 }, | 3752 }, |
| 3753 'RequestExtensionCHROMIUM': { | 3753 'RequestExtensionCHROMIUM': { |
| 3754 'type': 'Custom', | 3754 'type': 'Custom', |
| 3755 'impl_func': False, | 3755 'impl_func': False, |
| 3756 'client_test': False, | 3756 'client_test': False, |
| 3757 'cmd_args': 'uint32_t bucket_id', | 3757 'cmd_args': 'uint32_t bucket_id', |
| 3758 'extension': 'CHROMIUM_request_extension', | 3758 'extension': 'CHROMIUM_request_extension', |
| 3759 'chromium': True, | 3759 'chromium': True, |
| 3760 }, | 3760 }, |
| 3761 'RateLimitOffscreenContextCHROMIUM': { | |
| 3762 'gen_cmd': False, | |
| 3763 'extension': True, | |
| 3764 'chromium': True, | |
| 3765 'client_test': False, | |
| 3766 }, | |
| 3767 'CreateStreamTextureCHROMIUM': { | 3761 'CreateStreamTextureCHROMIUM': { |
| 3768 'type': 'HandWritten', | 3762 'type': 'HandWritten', |
| 3769 'impl_func': False, | 3763 'impl_func': False, |
| 3770 'gen_cmd': False, | 3764 'gen_cmd': False, |
| 3771 'extension': True, | 3765 'extension': True, |
| 3772 'chromium': True, | 3766 'chromium': True, |
| 3773 'trace_level': 1, | 3767 'trace_level': 1, |
| 3774 }, | 3768 }, |
| 3775 'TexImageIOSurface2DCHROMIUM': { | 3769 'TexImageIOSurface2DCHROMIUM': { |
| 3776 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | 3770 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', |
| (...skipping 7234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11011 Format(gen.generated_cpp_filenames) | 11005 Format(gen.generated_cpp_filenames) |
| 11012 | 11006 |
| 11013 if gen.errors > 0: | 11007 if gen.errors > 0: |
| 11014 print "%d errors" % gen.errors | 11008 print "%d errors" % gen.errors |
| 11015 return 1 | 11009 return 1 |
| 11016 return 0 | 11010 return 0 |
| 11017 | 11011 |
| 11018 | 11012 |
| 11019 if __name__ == '__main__': | 11013 if __name__ == '__main__': |
| 11020 sys.exit(main(sys.argv[1:])) | 11014 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |