| 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 3957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3968 'extension': "CHROMIUM_copy_texture", | 3968 'extension': "CHROMIUM_copy_texture", |
| 3969 'chromium': True, | 3969 'chromium': True, |
| 3970 'trace_level': 2, | 3970 'trace_level': 2, |
| 3971 }, | 3971 }, |
| 3972 'CompressedCopyTextureCHROMIUM': { | 3972 'CompressedCopyTextureCHROMIUM': { |
| 3973 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', | 3973 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
| 3974 'unit_test': False, | 3974 'unit_test': False, |
| 3975 'extension': 'CHROMIUM_copy_compressed_texture', | 3975 'extension': 'CHROMIUM_copy_compressed_texture', |
| 3976 'chromium': True, | 3976 'chromium': True, |
| 3977 }, | 3977 }, |
| 3978 'CompressedCopySubTextureCHROMIUM': { | |
| 3979 'decoder_func': 'DoCompressedCopySubTextureCHROMIUM', | |
| 3980 'unit_test': False, | |
| 3981 'extension': 'CHROMIUM_copy_compressed_texture', | |
| 3982 'chromium': True, | |
| 3983 }, | |
| 3984 'TexStorage2DEXT': { | 3978 'TexStorage2DEXT': { |
| 3985 'unit_test': False, | 3979 'unit_test': False, |
| 3986 'extension': 'EXT_texture_storage', | 3980 'extension': 'EXT_texture_storage', |
| 3987 'decoder_func': 'DoTexStorage2DEXT', | 3981 'decoder_func': 'DoTexStorage2DEXT', |
| 3988 'trace_level': 2, | 3982 'trace_level': 2, |
| 3989 }, | 3983 }, |
| 3990 'DrawArraysInstancedANGLE': { | 3984 'DrawArraysInstancedANGLE': { |
| 3991 'type': 'Manual', | 3985 'type': 'Manual', |
| 3992 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3986 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
| 3993 'GLsizei primcount', | 3987 'GLsizei primcount', |
| (...skipping 7483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11477 Format(gen.generated_cpp_filenames) | 11471 Format(gen.generated_cpp_filenames) |
| 11478 | 11472 |
| 11479 if gen.errors > 0: | 11473 if gen.errors > 0: |
| 11480 print "%d errors" % gen.errors | 11474 print "%d errors" % gen.errors |
| 11481 return 1 | 11475 return 1 |
| 11482 return 0 | 11476 return 0 |
| 11483 | 11477 |
| 11484 | 11478 |
| 11485 if __name__ == '__main__': | 11479 if __name__ == '__main__': |
| 11486 sys.exit(main(sys.argv[1:])) | 11480 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |