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