| 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 3735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3746 'chromium': True, | 3746 'chromium': True, |
| 3747 }, | 3747 }, |
| 3748 'RequestExtensionCHROMIUM': { | 3748 'RequestExtensionCHROMIUM': { |
| 3749 'type': 'Custom', | 3749 'type': 'Custom', |
| 3750 'impl_func': False, | 3750 'impl_func': False, |
| 3751 'client_test': False, | 3751 'client_test': False, |
| 3752 'cmd_args': 'uint32_t bucket_id', | 3752 'cmd_args': 'uint32_t bucket_id', |
| 3753 'extension': True, | 3753 'extension': True, |
| 3754 'chromium': True, | 3754 'chromium': True, |
| 3755 }, | 3755 }, |
| 3756 'RateLimitOffscreenContextCHROMIUM': { | |
| 3757 'gen_cmd': False, | |
| 3758 'extension': True, | |
| 3759 'chromium': True, | |
| 3760 'client_test': False, | |
| 3761 }, | |
| 3762 'CreateStreamTextureCHROMIUM': { | 3756 'CreateStreamTextureCHROMIUM': { |
| 3763 'type': 'HandWritten', | 3757 'type': 'HandWritten', |
| 3764 'impl_func': False, | 3758 'impl_func': False, |
| 3765 'gen_cmd': False, | 3759 'gen_cmd': False, |
| 3766 'extension': True, | 3760 'extension': True, |
| 3767 'chromium': True, | 3761 'chromium': True, |
| 3768 'trace_level': 1, | 3762 'trace_level': 1, |
| 3769 }, | 3763 }, |
| 3770 'TexImageIOSurface2DCHROMIUM': { | 3764 'TexImageIOSurface2DCHROMIUM': { |
| 3771 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | 3765 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', |
| (...skipping 7262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11034 Format(gen.generated_cpp_filenames) | 11028 Format(gen.generated_cpp_filenames) |
| 11035 | 11029 |
| 11036 if gen.errors > 0: | 11030 if gen.errors > 0: |
| 11037 print "%d errors" % gen.errors | 11031 print "%d errors" % gen.errors |
| 11038 return 1 | 11032 return 1 |
| 11039 return 0 | 11033 return 0 |
| 11040 | 11034 |
| 11041 | 11035 |
| 11042 if __name__ == '__main__': | 11036 if __name__ == '__main__': |
| 11043 sys.exit(main(sys.argv[1:])) | 11037 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |