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 4050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4061 }, | 4061 }, |
4062 'CompressedCopyTextureCHROMIUM': { | 4062 'CompressedCopyTextureCHROMIUM': { |
4063 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', | 4063 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', |
4064 'unit_test': False, | 4064 'unit_test': False, |
4065 'extension': 'CHROMIUM_copy_compressed_texture', | 4065 'extension': 'CHROMIUM_copy_compressed_texture', |
4066 'chromium': True, | 4066 'chromium': True, |
4067 }, | 4067 }, |
4068 'TexStorage2DEXT': { | 4068 'TexStorage2DEXT': { |
4069 'unit_test': False, | 4069 'unit_test': False, |
4070 'extension': 'EXT_texture_storage', | 4070 'extension': 'EXT_texture_storage', |
| 4071 'extension_flag': 'ext_texture_storage', |
4071 'decoder_func': 'DoTexStorage2DEXT', | 4072 'decoder_func': 'DoTexStorage2DEXT', |
4072 'trace_level': 2, | 4073 'trace_level': 2, |
4073 }, | 4074 }, |
4074 'DrawArraysInstancedANGLE': { | 4075 'DrawArraysInstancedANGLE': { |
4075 'type': 'Manual', | 4076 'type': 'Manual', |
4076 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 4077 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
4077 'GLsizei primcount', | 4078 'GLsizei primcount', |
4078 'extension': 'ANGLE_instanced_arrays', | 4079 'extension': 'ANGLE_instanced_arrays', |
4079 'unit_test': False, | 4080 'unit_test': False, |
4080 'pepper_interface': 'InstancedArrays', | 4081 'pepper_interface': 'InstancedArrays', |
(...skipping 7450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11531 Format(gen.generated_cpp_filenames) | 11532 Format(gen.generated_cpp_filenames) |
11532 | 11533 |
11533 if gen.errors > 0: | 11534 if gen.errors > 0: |
11534 print "%d errors" % gen.errors | 11535 print "%d errors" % gen.errors |
11535 return 1 | 11536 return 1 |
11536 return 0 | 11537 return 0 |
11537 | 11538 |
11538 | 11539 |
11539 if __name__ == '__main__': | 11540 if __name__ == '__main__': |
11540 sys.exit(main(sys.argv[1:])) | 11541 sys.exit(main(sys.argv[1:])) |
OLD | NEW |