| 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 2738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2749 'UniformMatrix4x2fv': { | 2749 'UniformMatrix4x2fv': { |
| 2750 'type': 'PUTn', | 2750 'type': 'PUTn', |
| 2751 'count': 8, | 2751 'count': 8, |
| 2752 'unsafe': True, | 2752 'unsafe': True, |
| 2753 }, | 2753 }, |
| 2754 'UniformMatrix4x3fv': { | 2754 'UniformMatrix4x3fv': { |
| 2755 'type': 'PUTn', | 2755 'type': 'PUTn', |
| 2756 'count': 12, | 2756 'count': 12, |
| 2757 'unsafe': True, | 2757 'unsafe': True, |
| 2758 }, | 2758 }, |
| 2759 'UniformBlockBinding': { |
| 2760 'type': 'Custom', |
| 2761 'impl_func': False, |
| 2762 'unsafe': True, |
| 2763 }, |
| 2759 'UnmapBufferCHROMIUM': { | 2764 'UnmapBufferCHROMIUM': { |
| 2760 'gen_cmd': False, | 2765 'gen_cmd': False, |
| 2761 'extension': True, | 2766 'extension': True, |
| 2762 'chromium': True, | 2767 'chromium': True, |
| 2763 'client_test': False, | 2768 'client_test': False, |
| 2764 }, | 2769 }, |
| 2765 'UnmapBufferSubDataCHROMIUM': { | 2770 'UnmapBufferSubDataCHROMIUM': { |
| 2766 'gen_cmd': False, | 2771 'gen_cmd': False, |
| 2767 'extension': True, | 2772 'extension': True, |
| 2768 'chromium': True, | 2773 'chromium': True, |
| (...skipping 7290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10059 Format(gen.generated_cpp_filenames) | 10064 Format(gen.generated_cpp_filenames) |
| 10060 | 10065 |
| 10061 if gen.errors > 0: | 10066 if gen.errors > 0: |
| 10062 print "%d errors" % gen.errors | 10067 print "%d errors" % gen.errors |
| 10063 return 1 | 10068 return 1 |
| 10064 return 0 | 10069 return 0 |
| 10065 | 10070 |
| 10066 | 10071 |
| 10067 if __name__ == '__main__': | 10072 if __name__ == '__main__': |
| 10068 sys.exit(main(sys.argv[1:])) | 10073 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |