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 2990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3001 'unit_test': False, | 3001 'unit_test': False, |
3002 'extension': True, | 3002 'extension': True, |
3003 'chromium': True, | 3003 'chromium': True, |
3004 }, | 3004 }, |
3005 'CopyTextureCHROMIUM': { | 3005 'CopyTextureCHROMIUM': { |
3006 'decoder_func': 'DoCopyTextureCHROMIUM', | 3006 'decoder_func': 'DoCopyTextureCHROMIUM', |
3007 'unit_test': False, | 3007 'unit_test': False, |
3008 'extension': True, | 3008 'extension': True, |
3009 'chromium': True, | 3009 'chromium': True, |
3010 }, | 3010 }, |
| 3011 'CopySubTextureCHROMIUM': { |
| 3012 'decoder_func': 'DoCopySubTextureCHROMIUM', |
| 3013 'unit_test': False, |
| 3014 'extension': True, |
| 3015 'chromium': True, |
| 3016 }, |
3011 'TexStorage2DEXT': { | 3017 'TexStorage2DEXT': { |
3012 'unit_test': False, | 3018 'unit_test': False, |
3013 'extension': True, | 3019 'extension': True, |
3014 'decoder_func': 'DoTexStorage2DEXT', | 3020 'decoder_func': 'DoTexStorage2DEXT', |
3015 }, | 3021 }, |
3016 'DrawArraysInstancedANGLE': { | 3022 'DrawArraysInstancedANGLE': { |
3017 'type': 'Manual', | 3023 'type': 'Manual', |
3018 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 3024 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
3019 'GLsizei primcount', | 3025 'GLsizei primcount', |
3020 'extension': True, | 3026 'extension': True, |
(...skipping 7225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10246 Format(gen.generated_cpp_filenames) | 10252 Format(gen.generated_cpp_filenames) |
10247 | 10253 |
10248 if gen.errors > 0: | 10254 if gen.errors > 0: |
10249 print "%d errors" % gen.errors | 10255 print "%d errors" % gen.errors |
10250 return 1 | 10256 return 1 |
10251 return 0 | 10257 return 0 |
10252 | 10258 |
10253 | 10259 |
10254 if __name__ == '__main__': | 10260 if __name__ == '__main__': |
10255 sys.exit(main(sys.argv[1:])) | 10261 sys.exit(main(sys.argv[1:])) |
OLD | NEW |