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 3742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3753 'extension': "CHROMIUM_copy_texture", | 3753 'extension': "CHROMIUM_copy_texture", |
3754 'chromium': True, | 3754 'chromium': True, |
3755 'trace_level': 2, | 3755 'trace_level': 2, |
3756 }, | 3756 }, |
3757 'CompressedCopyTextureCHROMIUM': { | 3757 'CompressedCopyTextureCHROMIUM': { |
3758 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', | 3758 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
3759 'unit_test': False, | 3759 'unit_test': False, |
3760 'extension': True, | 3760 'extension': True, |
3761 'chromium': True, | 3761 'chromium': True, |
3762 }, | 3762 }, |
| 3763 'CompressedCopySubTextureCHROMIUM': { |
| 3764 'decoder_func': 'DoCompressedCopySubTextureCHROMIUM', |
| 3765 'unit_test': False, |
| 3766 'extension': True, |
| 3767 'chromium': True, |
| 3768 }, |
3763 'TexStorage2DEXT': { | 3769 'TexStorage2DEXT': { |
3764 'unit_test': False, | 3770 'unit_test': False, |
3765 'extension': True, | 3771 'extension': True, |
3766 'decoder_func': 'DoTexStorage2DEXT', | 3772 'decoder_func': 'DoTexStorage2DEXT', |
3767 'trace_level': 2, | 3773 'trace_level': 2, |
3768 }, | 3774 }, |
3769 'DrawArraysInstancedANGLE': { | 3775 'DrawArraysInstancedANGLE': { |
3770 'type': 'Manual', | 3776 'type': 'Manual', |
3771 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3777 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
3772 'GLsizei primcount', | 3778 'GLsizei primcount', |
(...skipping 7274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11047 Format(gen.generated_cpp_filenames) | 11053 Format(gen.generated_cpp_filenames) |
11048 | 11054 |
11049 if gen.errors > 0: | 11055 if gen.errors > 0: |
11050 print "%d errors" % gen.errors | 11056 print "%d errors" % gen.errors |
11051 return 1 | 11057 return 1 |
11052 return 0 | 11058 return 0 |
11053 | 11059 |
11054 | 11060 |
11055 if __name__ == '__main__': | 11061 if __name__ == '__main__': |
11056 sys.exit(main(sys.argv[1:])) | 11062 sys.exit(main(sys.argv[1:])) |
OLD | NEW |