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 3781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3792 'chromium': True, | 3792 'chromium': True, |
3793 }, | 3793 }, |
3794 'CreateStreamTextureCHROMIUM': { | 3794 'CreateStreamTextureCHROMIUM': { |
3795 'type': 'HandWritten', | 3795 'type': 'HandWritten', |
3796 'impl_func': False, | 3796 'impl_func': False, |
3797 'gen_cmd': False, | 3797 'gen_cmd': False, |
3798 'extension': True, | 3798 'extension': True, |
3799 'chromium': True, | 3799 'chromium': True, |
3800 'trace_level': 1, | 3800 'trace_level': 1, |
3801 }, | 3801 }, |
| 3802 'SetStreamTextureSizeCHROMIUM': { |
| 3803 'type': 'HandWritten', |
| 3804 'impl_func': False, |
| 3805 'gen_cmd': False, |
| 3806 'extension': True, |
| 3807 'chromium': True, |
| 3808 'trace_level': 1, |
| 3809 }, |
3802 'TexImageIOSurface2DCHROMIUM': { | 3810 'TexImageIOSurface2DCHROMIUM': { |
3803 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | 3811 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', |
3804 'unit_test': False, | 3812 'unit_test': False, |
3805 'extension': True, | 3813 'extension': True, |
3806 'chromium': True, | 3814 'chromium': True, |
3807 'trace_level': 1, | 3815 'trace_level': 1, |
3808 }, | 3816 }, |
3809 'CopyTextureCHROMIUM': { | 3817 'CopyTextureCHROMIUM': { |
3810 'decoder_func': 'DoCopyTextureCHROMIUM', | 3818 'decoder_func': 'DoCopyTextureCHROMIUM', |
3811 'unit_test': False, | 3819 'unit_test': False, |
(...skipping 7302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11114 Format(gen.generated_cpp_filenames) | 11122 Format(gen.generated_cpp_filenames) |
11115 | 11123 |
11116 if gen.errors > 0: | 11124 if gen.errors > 0: |
11117 print "%d errors" % gen.errors | 11125 print "%d errors" % gen.errors |
11118 return 1 | 11126 return 1 |
11119 return 0 | 11127 return 0 |
11120 | 11128 |
11121 | 11129 |
11122 if __name__ == '__main__': | 11130 if __name__ == '__main__': |
11123 sys.exit(main(sys.argv[1:])) | 11131 sys.exit(main(sys.argv[1:])) |
OLD | NEW |