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 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 }, | 1539 }, |
1540 }, | 1540 }, |
1541 'BlendFunc': { | 1541 'BlendFunc': { |
1542 'type': 'StateSetRGBAlpha', | 1542 'type': 'StateSetRGBAlpha', |
1543 'state': 'BlendFunc', | 1543 'state': 'BlendFunc', |
1544 }, | 1544 }, |
1545 'BlendFuncSeparate': { | 1545 'BlendFuncSeparate': { |
1546 'type': 'StateSet', | 1546 'type': 'StateSet', |
1547 'state': 'BlendFunc', | 1547 'state': 'BlendFunc', |
1548 }, | 1548 }, |
| 1549 'BlendBarrierKHR': { |
| 1550 'gl_test_func': 'glBlendBarrierKHR', |
| 1551 'extension': True, |
| 1552 'extension_flag': 'blend_equation_advanced', |
| 1553 'client_test': False, |
| 1554 }, |
1549 'SampleCoverage': {'decoder_func': 'DoSampleCoverage'}, | 1555 'SampleCoverage': {'decoder_func': 'DoSampleCoverage'}, |
1550 'StencilFunc': { | 1556 'StencilFunc': { |
1551 'type': 'StateSetFrontBack', | 1557 'type': 'StateSetFrontBack', |
1552 'state': 'StencilFunc', | 1558 'state': 'StencilFunc', |
1553 }, | 1559 }, |
1554 'StencilFuncSeparate': { | 1560 'StencilFuncSeparate': { |
1555 'type': 'StateSetFrontBackSeparate', | 1561 'type': 'StateSetFrontBackSeparate', |
1556 'state': 'StencilFunc', | 1562 'state': 'StencilFunc', |
1557 }, | 1563 }, |
1558 'StencilOp': { | 1564 'StencilOp': { |
(...skipping 7067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8626 Format(gen.generated_cpp_filenames) | 8632 Format(gen.generated_cpp_filenames) |
8627 | 8633 |
8628 if gen.errors > 0: | 8634 if gen.errors > 0: |
8629 print "%d errors" % gen.errors | 8635 print "%d errors" % gen.errors |
8630 return 1 | 8636 return 1 |
8631 return 0 | 8637 return 0 |
8632 | 8638 |
8633 | 8639 |
8634 if __name__ == '__main__': | 8640 if __name__ == '__main__': |
8635 sys.exit(main(sys.argv[1:])) | 8641 sys.exit(main(sys.argv[1:])) |
OLD | NEW |