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 3873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3884 'count': 12, | 3884 'count': 12, |
3885 'decoder_func': 'DoUniformMatrix3x4fv', | 3885 'decoder_func': 'DoUniformMatrix3x4fv', |
3886 'unsafe': True, | 3886 'unsafe': True, |
3887 }, | 3887 }, |
3888 'UniformMatrix4fv': { | 3888 'UniformMatrix4fv': { |
3889 'type': 'PUTn', | 3889 'type': 'PUTn', |
3890 'count': 16, | 3890 'count': 16, |
3891 'decoder_func': 'DoUniformMatrix4fv', | 3891 'decoder_func': 'DoUniformMatrix4fv', |
3892 'unit_test': False, | 3892 'unit_test': False, |
3893 }, | 3893 }, |
| 3894 'UniformMatrix4fvWithStreamTextureMatrixCHROMIUM': { |
| 3895 'type': 'PUT', |
| 3896 'count': 16, |
| 3897 'decoder_func': 'DoUniformMatrix4fvWithStreamTextureMatrixCHROMIUM', |
| 3898 'extension': "CHROMIUM_uniform_stream_texture_matrix", |
| 3899 'unit_test': False, |
| 3900 'client_test': False, |
| 3901 }, |
3894 'UniformMatrix4x2fv': { | 3902 'UniformMatrix4x2fv': { |
3895 'type': 'PUTn', | 3903 'type': 'PUTn', |
3896 'count': 8, | 3904 'count': 8, |
3897 'decoder_func': 'DoUniformMatrix4x2fv', | 3905 'decoder_func': 'DoUniformMatrix4x2fv', |
3898 'unsafe': True, | 3906 'unsafe': True, |
3899 }, | 3907 }, |
3900 'UniformMatrix4x3fv': { | 3908 'UniformMatrix4x3fv': { |
3901 'type': 'PUTn', | 3909 'type': 'PUTn', |
3902 'count': 12, | 3910 'count': 12, |
3903 'decoder_func': 'DoUniformMatrix4x3fv', | 3911 'decoder_func': 'DoUniformMatrix4x3fv', |
(...skipping 7624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11528 Format(gen.generated_cpp_filenames) | 11536 Format(gen.generated_cpp_filenames) |
11529 | 11537 |
11530 if gen.errors > 0: | 11538 if gen.errors > 0: |
11531 print "%d errors" % gen.errors | 11539 print "%d errors" % gen.errors |
11532 return 1 | 11540 return 1 |
11533 return 0 | 11541 return 0 |
11534 | 11542 |
11535 | 11543 |
11536 if __name__ == '__main__': | 11544 if __name__ == '__main__': |
11537 sys.exit(main(sys.argv[1:])) | 11545 sys.exit(main(sys.argv[1:])) |
OLD | NEW |