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 3773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3784 'chromium': True, | 3784 'chromium': True, |
3785 }, | 3785 }, |
3786 'RequestExtensionCHROMIUM': { | 3786 'RequestExtensionCHROMIUM': { |
3787 'type': 'Custom', | 3787 'type': 'Custom', |
3788 'impl_func': False, | 3788 'impl_func': False, |
3789 'client_test': False, | 3789 'client_test': False, |
3790 'cmd_args': 'uint32_t bucket_id', | 3790 'cmd_args': 'uint32_t bucket_id', |
3791 'extension': 'CHROMIUM_request_extension', | 3791 'extension': 'CHROMIUM_request_extension', |
3792 'chromium': True, | 3792 'chromium': True, |
3793 }, | 3793 }, |
3794 'CreateStreamTextureCHROMIUM': { | |
3795 'type': 'HandWritten', | |
3796 'impl_func': False, | |
3797 'gen_cmd': False, | |
3798 'extension': True, | |
3799 'chromium': True, | |
3800 'trace_level': 1, | |
3801 }, | |
3802 'TexImageIOSurface2DCHROMIUM': { | 3794 'TexImageIOSurface2DCHROMIUM': { |
3803 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | 3795 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', |
3804 'unit_test': False, | 3796 'unit_test': False, |
3805 'extension': True, | 3797 'extension': True, |
3806 'chromium': True, | 3798 'chromium': True, |
3807 'trace_level': 1, | 3799 'trace_level': 1, |
3808 }, | 3800 }, |
3809 'CopyTextureCHROMIUM': { | 3801 'CopyTextureCHROMIUM': { |
3810 'decoder_func': 'DoCopyTextureCHROMIUM', | 3802 'decoder_func': 'DoCopyTextureCHROMIUM', |
3811 'unit_test': False, | 3803 'unit_test': False, |
(...skipping 7310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11122 Format(gen.generated_cpp_filenames) | 11114 Format(gen.generated_cpp_filenames) |
11123 | 11115 |
11124 if gen.errors > 0: | 11116 if gen.errors > 0: |
11125 print "%d errors" % gen.errors | 11117 print "%d errors" % gen.errors |
11126 return 1 | 11118 return 1 |
11127 return 0 | 11119 return 0 |
11128 | 11120 |
11129 | 11121 |
11130 if __name__ == '__main__': | 11122 if __name__ == '__main__': |
11131 sys.exit(main(sys.argv[1:])) | 11123 sys.exit(main(sys.argv[1:])) |
OLD | NEW |