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 3987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3998 'cmd_args': 'GLuint sync, GLbitfieldSyncFlushFlags flags, ' | 3998 'cmd_args': 'GLuint sync, GLbitfieldSyncFlushFlags flags, ' |
3999 'GLuint64 timeout', | 3999 'GLuint64 timeout', |
4000 'impl_func': False, | 4000 'impl_func': False, |
4001 'client_test': False, | 4001 'client_test': False, |
4002 'es3': True, | 4002 'es3': True, |
4003 'trace_level': 1, | 4003 'trace_level': 1, |
4004 }, | 4004 }, |
4005 'Scissor': { | 4005 'Scissor': { |
4006 'type': 'StateSet', | 4006 'type': 'StateSet', |
4007 'state': 'Scissor', | 4007 'state': 'Scissor', |
| 4008 'decoder_func': 'DoScissor', |
4008 }, | 4009 }, |
4009 'Viewport': { | 4010 'Viewport': { |
4010 'impl_func': False, | 4011 'impl_func': False, |
4011 'decoder_func': 'DoViewport', | 4012 'decoder_func': 'DoViewport', |
4012 }, | 4013 }, |
4013 'ResizeCHROMIUM': { | 4014 'ResizeCHROMIUM': { |
4014 'type': 'Custom', | 4015 'type': 'Custom', |
4015 'impl_func': False, | 4016 'impl_func': False, |
4016 'extension': True, | 4017 'extension': True, |
4017 'trace_level': 1, | 4018 'trace_level': 1, |
(...skipping 7209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11227 Format(gen.generated_cpp_filenames) | 11228 Format(gen.generated_cpp_filenames) |
11228 | 11229 |
11229 if gen.errors > 0: | 11230 if gen.errors > 0: |
11230 print "%d errors" % gen.errors | 11231 print "%d errors" % gen.errors |
11231 return 1 | 11232 return 1 |
11232 return 0 | 11233 return 0 |
11233 | 11234 |
11234 | 11235 |
11235 if __name__ == '__main__': | 11236 if __name__ == '__main__': |
11236 sys.exit(main(sys.argv[1:])) | 11237 sys.exit(main(sys.argv[1:])) |
OLD | NEW |