| 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 3996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4007 'impl_func': False, | 4007 'impl_func': False, |
| 4008 'client_test': False, | 4008 'client_test': False, |
| 4009 'es3': True, | 4009 'es3': True, |
| 4010 'trace_level': 1, | 4010 'trace_level': 1, |
| 4011 }, | 4011 }, |
| 4012 'Scissor': { | 4012 'Scissor': { |
| 4013 'type': 'StateSet', | 4013 'type': 'StateSet', |
| 4014 'state': 'Scissor', | 4014 'state': 'Scissor', |
| 4015 }, | 4015 }, |
| 4016 'Viewport': { | 4016 'Viewport': { |
| 4017 'impl_func': False, |
| 4017 'decoder_func': 'DoViewport', | 4018 'decoder_func': 'DoViewport', |
| 4018 }, | 4019 }, |
| 4019 'ResizeCHROMIUM': { | 4020 'ResizeCHROMIUM': { |
| 4020 'type': 'Custom', | 4021 'type': 'Custom', |
| 4021 'impl_func': False, | 4022 'impl_func': False, |
| 4022 'extension': True, | 4023 'extension': True, |
| 4023 'trace_level': 1, | 4024 'trace_level': 1, |
| 4024 }, | 4025 }, |
| 4025 'GetRequestableExtensionsCHROMIUM': { | 4026 'GetRequestableExtensionsCHROMIUM': { |
| 4026 'type': 'Custom', | 4027 'type': 'Custom', |
| (...skipping 7177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11204 Format(gen.generated_cpp_filenames) | 11205 Format(gen.generated_cpp_filenames) |
| 11205 | 11206 |
| 11206 if gen.errors > 0: | 11207 if gen.errors > 0: |
| 11207 print "%d errors" % gen.errors | 11208 print "%d errors" % gen.errors |
| 11208 return 1 | 11209 return 1 |
| 11209 return 0 | 11210 return 0 |
| 11210 | 11211 |
| 11211 | 11212 |
| 11212 if __name__ == '__main__': | 11213 if __name__ == '__main__': |
| 11213 sys.exit(main(sys.argv[1:])) | 11214 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |