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 3617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3628 'chromium': True, | 3628 'chromium': True, |
3629 'trace_level': 2, | 3629 'trace_level': 2, |
3630 }, | 3630 }, |
3631 'CopySubTextureCHROMIUM': { | 3631 'CopySubTextureCHROMIUM': { |
3632 'decoder_func': 'DoCopySubTextureCHROMIUM', | 3632 'decoder_func': 'DoCopySubTextureCHROMIUM', |
3633 'unit_test': False, | 3633 'unit_test': False, |
3634 'extension': True, | 3634 'extension': True, |
3635 'chromium': True, | 3635 'chromium': True, |
3636 'trace_level': 2, | 3636 'trace_level': 2, |
3637 }, | 3637 }, |
| 3638 'CompressedCopyTextureCHROMIUM': { |
| 3639 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
| 3640 'unit_test': False, |
| 3641 'extension': True, |
| 3642 'chromium': True, |
| 3643 }, |
3638 'TexStorage2DEXT': { | 3644 'TexStorage2DEXT': { |
3639 'unit_test': False, | 3645 'unit_test': False, |
3640 'extension': True, | 3646 'extension': True, |
3641 'decoder_func': 'DoTexStorage2DEXT', | 3647 'decoder_func': 'DoTexStorage2DEXT', |
3642 'trace_level': 2, | 3648 'trace_level': 2, |
3643 }, | 3649 }, |
3644 'DrawArraysInstancedANGLE': { | 3650 'DrawArraysInstancedANGLE': { |
3645 'type': 'Manual', | 3651 'type': 'Manual', |
3646 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3652 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
3647 'GLsizei primcount', | 3653 'GLsizei primcount', |
(...skipping 7431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11079 Format(gen.generated_cpp_filenames) | 11085 Format(gen.generated_cpp_filenames) |
11080 | 11086 |
11081 if gen.errors > 0: | 11087 if gen.errors > 0: |
11082 print "%d errors" % gen.errors | 11088 print "%d errors" % gen.errors |
11083 return 1 | 11089 return 1 |
11084 return 0 | 11090 return 0 |
11085 | 11091 |
11086 | 11092 |
11087 if __name__ == '__main__': | 11093 if __name__ == '__main__': |
11088 sys.exit(main(sys.argv[1:])) | 11094 sys.exit(main(sys.argv[1:])) |
OLD | NEW |