| 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 2877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2888 'unit_test': False, | 2888 'unit_test': False, |
| 2889 'extension': True, | 2889 'extension': True, |
| 2890 'chromium': True, | 2890 'chromium': True, |
| 2891 }, | 2891 }, |
| 2892 'CopyTextureCHROMIUM': { | 2892 'CopyTextureCHROMIUM': { |
| 2893 'decoder_func': 'DoCopyTextureCHROMIUM', | 2893 'decoder_func': 'DoCopyTextureCHROMIUM', |
| 2894 'unit_test': False, | 2894 'unit_test': False, |
| 2895 'extension': True, | 2895 'extension': True, |
| 2896 'chromium': True, | 2896 'chromium': True, |
| 2897 }, | 2897 }, |
| 2898 'CopySubTextureCHROMIUM': { |
| 2899 'decoder_func': 'DoCopySubTextureCHROMIUM', |
| 2900 'unit_test': False, |
| 2901 'extension': True, |
| 2902 'chromium': True, |
| 2903 }, |
| 2898 'TexStorage2DEXT': { | 2904 'TexStorage2DEXT': { |
| 2899 'unit_test': False, | 2905 'unit_test': False, |
| 2900 'extension': True, | 2906 'extension': True, |
| 2901 'decoder_func': 'DoTexStorage2DEXT', | 2907 'decoder_func': 'DoTexStorage2DEXT', |
| 2902 }, | 2908 }, |
| 2903 'DrawArraysInstancedANGLE': { | 2909 'DrawArraysInstancedANGLE': { |
| 2904 'type': 'Manual', | 2910 'type': 'Manual', |
| 2905 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' | 2911 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' |
| 2906 'GLsizei primcount', | 2912 'GLsizei primcount', |
| 2907 'extension': True, | 2913 'extension': True, |
| (...skipping 7156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10064 Format(gen.generated_cpp_filenames) | 10070 Format(gen.generated_cpp_filenames) |
| 10065 | 10071 |
| 10066 if gen.errors > 0: | 10072 if gen.errors > 0: |
| 10067 print "%d errors" % gen.errors | 10073 print "%d errors" % gen.errors |
| 10068 return 1 | 10074 return 1 |
| 10069 return 0 | 10075 return 0 |
| 10070 | 10076 |
| 10071 | 10077 |
| 10072 if __name__ == '__main__': | 10078 if __name__ == '__main__': |
| 10073 sys.exit(main(sys.argv[1:])) | 10079 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |