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 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3723 'extension': "CHROMIUM_copy_texture", | 3723 'extension': "CHROMIUM_copy_texture", |
3724 'chromium': True, | 3724 'chromium': True, |
3725 'trace_level': 2, | 3725 'trace_level': 2, |
3726 }, | 3726 }, |
3727 'CompressedCopyTextureCHROMIUM': { | 3727 'CompressedCopyTextureCHROMIUM': { |
3728 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', | 3728 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
3729 'unit_test': False, | 3729 'unit_test': False, |
3730 'extension': True, | 3730 'extension': True, |
3731 'chromium': True, | 3731 'chromium': True, |
3732 }, | 3732 }, |
| 3733 'CompressedCopySubTextureCHROMIUM': { |
| 3734 'decoder_func': 'DoCompressedCopySubTextureCHROMIUM', |
| 3735 'unit_test': False, |
| 3736 'extension': True, |
| 3737 'chromium': True, |
| 3738 }, |
3733 'TexStorage2DEXT': { | 3739 'TexStorage2DEXT': { |
3734 'unit_test': False, | 3740 'unit_test': False, |
3735 'extension': True, | 3741 'extension': True, |
3736 'decoder_func': 'DoTexStorage2DEXT', | 3742 'decoder_func': 'DoTexStorage2DEXT', |
3737 'trace_level': 2, | 3743 'trace_level': 2, |
3738 }, | 3744 }, |
3739 'DrawArraysInstancedANGLE': { | 3745 'DrawArraysInstancedANGLE': { |
3740 'type': 'Manual', | 3746 'type': 'Manual', |
3741 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3747 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
3742 'GLsizei primcount', | 3748 'GLsizei primcount', |
(...skipping 7555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11298 Format(gen.generated_cpp_filenames) | 11304 Format(gen.generated_cpp_filenames) |
11299 | 11305 |
11300 if gen.errors > 0: | 11306 if gen.errors > 0: |
11301 print "%d errors" % gen.errors | 11307 print "%d errors" % gen.errors |
11302 return 1 | 11308 return 1 |
11303 return 0 | 11309 return 0 |
11304 | 11310 |
11305 | 11311 |
11306 if __name__ == '__main__': | 11312 if __name__ == '__main__': |
11307 sys.exit(main(sys.argv[1:])) | 11313 sys.exit(main(sys.argv[1:])) |
OLD | NEW |