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 3607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3618 'expectation': False, | 3618 'expectation': False, |
3619 }, | 3619 }, |
3620 'SwapBuffers': { | 3620 'SwapBuffers': { |
3621 'impl_func': False, | 3621 'impl_func': False, |
3622 'decoder_func': 'DoSwapBuffers', | 3622 'decoder_func': 'DoSwapBuffers', |
3623 'client_test': False, | 3623 'client_test': False, |
3624 'expectation': False, | 3624 'expectation': False, |
3625 'extension': True, | 3625 'extension': True, |
3626 'trace_level': 1, | 3626 'trace_level': 1, |
3627 }, | 3627 }, |
| 3628 'SwapBuffersWithDamageCHROMIUM': { |
| 3629 'type': 'Custom', |
| 3630 'impl_func': False, |
| 3631 'client_test': False, |
| 3632 'extension': True, |
| 3633 }, |
3628 'SwapInterval': { | 3634 'SwapInterval': { |
3629 'impl_func': False, | 3635 'impl_func': False, |
3630 'decoder_func': 'DoSwapInterval', | 3636 'decoder_func': 'DoSwapInterval', |
3631 'client_test': False, | 3637 'client_test': False, |
3632 'expectation': False, | 3638 'expectation': False, |
3633 'extension': True, | 3639 'extension': True, |
3634 'trace_level': 1, | 3640 'trace_level': 1, |
3635 }, | 3641 }, |
3636 'TexImage2D': { | 3642 'TexImage2D': { |
3637 'type': 'Custom', | 3643 'type': 'Custom', |
(...skipping 7671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11309 Format(gen.generated_cpp_filenames) | 11315 Format(gen.generated_cpp_filenames) |
11310 | 11316 |
11311 if gen.errors > 0: | 11317 if gen.errors > 0: |
11312 print "%d errors" % gen.errors | 11318 print "%d errors" % gen.errors |
11313 return 1 | 11319 return 1 |
11314 return 0 | 11320 return 0 |
11315 | 11321 |
11316 | 11322 |
11317 if __name__ == '__main__': | 11323 if __name__ == '__main__': |
11318 sys.exit(main(sys.argv[1:])) | 11324 sys.exit(main(sys.argv[1:])) |
OLD | NEW |