| 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 3887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3898 'count': 12, | 3898 'count': 12, |
| 3899 'decoder_func': 'DoUniformMatrix3x4fv', | 3899 'decoder_func': 'DoUniformMatrix3x4fv', |
| 3900 'unsafe': True, | 3900 'unsafe': True, |
| 3901 }, | 3901 }, |
| 3902 'UniformMatrix4fv': { | 3902 'UniformMatrix4fv': { |
| 3903 'type': 'PUTn', | 3903 'type': 'PUTn', |
| 3904 'count': 16, | 3904 'count': 16, |
| 3905 'decoder_func': 'DoUniformMatrix4fv', | 3905 'decoder_func': 'DoUniformMatrix4fv', |
| 3906 'unit_test': False, | 3906 'unit_test': False, |
| 3907 }, | 3907 }, |
| 3908 'UniformMatrix4fvStreamTextureMatrixCHROMIUM': { |
| 3909 'type': 'PUT', |
| 3910 'count': 16, |
| 3911 'decoder_func': 'DoUniformMatrix4fvStreamTextureMatrixCHROMIUM', |
| 3912 'extension': "CHROMIUM_uniform_stream_texture_matrix", |
| 3913 'unit_test': False, |
| 3914 'client_test': False, |
| 3915 }, |
| 3908 'UniformMatrix4x2fv': { | 3916 'UniformMatrix4x2fv': { |
| 3909 'type': 'PUTn', | 3917 'type': 'PUTn', |
| 3910 'count': 8, | 3918 'count': 8, |
| 3911 'decoder_func': 'DoUniformMatrix4x2fv', | 3919 'decoder_func': 'DoUniformMatrix4x2fv', |
| 3912 'unsafe': True, | 3920 'unsafe': True, |
| 3913 }, | 3921 }, |
| 3914 'UniformMatrix4x3fv': { | 3922 'UniformMatrix4x3fv': { |
| 3915 'type': 'PUTn', | 3923 'type': 'PUTn', |
| 3916 'count': 12, | 3924 'count': 12, |
| 3917 'decoder_func': 'DoUniformMatrix4x3fv', | 3925 'decoder_func': 'DoUniformMatrix4x3fv', |
| (...skipping 7624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11542 Format(gen.generated_cpp_filenames) | 11550 Format(gen.generated_cpp_filenames) |
| 11543 | 11551 |
| 11544 if gen.errors > 0: | 11552 if gen.errors > 0: |
| 11545 print "%d errors" % gen.errors | 11553 print "%d errors" % gen.errors |
| 11546 return 1 | 11554 return 1 |
| 11547 return 0 | 11555 return 0 |
| 11548 | 11556 |
| 11549 | 11557 |
| 11550 if __name__ == '__main__': | 11558 if __name__ == '__main__': |
| 11551 sys.exit(main(sys.argv[1:])) | 11559 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |