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 3350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3361 'unit_test': False, | 3361 'unit_test': False, |
3362 'extension': True, | 3362 'extension': True, |
3363 'chromium': True, | 3363 'chromium': True, |
3364 }, | 3364 }, |
3365 'CopySubTextureCHROMIUM': { | 3365 'CopySubTextureCHROMIUM': { |
3366 'decoder_func': 'DoCopySubTextureCHROMIUM', | 3366 'decoder_func': 'DoCopySubTextureCHROMIUM', |
3367 'unit_test': False, | 3367 'unit_test': False, |
3368 'extension': True, | 3368 'extension': True, |
3369 'chromium': True, | 3369 'chromium': True, |
3370 }, | 3370 }, |
| 3371 'CompressedCopyTextureCHROMIUM': { |
| 3372 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
| 3373 'unit_test': False, |
| 3374 'extension': True, |
| 3375 'chromium': True, |
| 3376 }, |
3371 'TexStorage2DEXT': { | 3377 'TexStorage2DEXT': { |
3372 'unit_test': False, | 3378 'unit_test': False, |
3373 'extension': True, | 3379 'extension': True, |
3374 'decoder_func': 'DoTexStorage2DEXT', | 3380 'decoder_func': 'DoTexStorage2DEXT', |
3375 }, | 3381 }, |
3376 'DrawArraysInstancedANGLE': { | 3382 'DrawArraysInstancedANGLE': { |
3377 'type': 'Manual', | 3383 'type': 'Manual', |
3378 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3384 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
3379 'GLsizei primcount', | 3385 'GLsizei primcount', |
3380 'extension': True, | 3386 'extension': True, |
(...skipping 7432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10813 Format(gen.generated_cpp_filenames) | 10819 Format(gen.generated_cpp_filenames) |
10814 | 10820 |
10815 if gen.errors > 0: | 10821 if gen.errors > 0: |
10816 print "%d errors" % gen.errors | 10822 print "%d errors" % gen.errors |
10817 return 1 | 10823 return 1 |
10818 return 0 | 10824 return 0 |
10819 | 10825 |
10820 | 10826 |
10821 if __name__ == '__main__': | 10827 if __name__ == '__main__': |
10822 sys.exit(main(sys.argv[1:])) | 10828 sys.exit(main(sys.argv[1:])) |
OLD | NEW |