| 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 3988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3999 'impl_func': False, | 3999 'impl_func': False, |
| 4000 'client_test': False, | 4000 'client_test': False, |
| 4001 'es3': True, | 4001 'es3': True, |
| 4002 'trace_level': 1, | 4002 'trace_level': 1, |
| 4003 }, | 4003 }, |
| 4004 'Scissor': { | 4004 'Scissor': { |
| 4005 'type': 'StateSet', | 4005 'type': 'StateSet', |
| 4006 'state': 'Scissor', | 4006 'state': 'Scissor', |
| 4007 }, | 4007 }, |
| 4008 'Viewport': { | 4008 'Viewport': { |
| 4009 'impl_func': False, |
| 4009 'decoder_func': 'DoViewport', | 4010 'decoder_func': 'DoViewport', |
| 4010 }, | 4011 }, |
| 4011 'ResizeCHROMIUM': { | 4012 'ResizeCHROMIUM': { |
| 4012 'type': 'Custom', | 4013 'type': 'Custom', |
| 4013 'impl_func': False, | 4014 'impl_func': False, |
| 4014 'extension': True, | 4015 'extension': True, |
| 4015 'trace_level': 1, | 4016 'trace_level': 1, |
| 4016 }, | 4017 }, |
| 4017 'GetRequestableExtensionsCHROMIUM': { | 4018 'GetRequestableExtensionsCHROMIUM': { |
| 4018 'type': 'Custom', | 4019 'type': 'Custom', |
| (...skipping 7177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11196 Format(gen.generated_cpp_filenames) | 11197 Format(gen.generated_cpp_filenames) |
| 11197 | 11198 |
| 11198 if gen.errors > 0: | 11199 if gen.errors > 0: |
| 11199 print "%d errors" % gen.errors | 11200 print "%d errors" % gen.errors |
| 11200 return 1 | 11201 return 1 |
| 11201 return 0 | 11202 return 0 |
| 11202 | 11203 |
| 11203 | 11204 |
| 11204 if __name__ == '__main__': | 11205 if __name__ == '__main__': |
| 11205 sys.exit(main(sys.argv[1:])) | 11206 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |