| 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 os | 8 import os |
| 9 import os.path | 9 import os.path |
| 10 import sys | 10 import sys |
| (...skipping 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1632 'client_test': False, | 1632 'client_test': False, |
| 1633 'gl_test_func': 'glGetQueryiv', | 1633 'gl_test_func': 'glGetQueryiv', |
| 1634 'pepper_interface': 'Query', | 1634 'pepper_interface': 'Query', |
| 1635 }, | 1635 }, |
| 1636 'GetQueryObjectuivEXT': { | 1636 'GetQueryObjectuivEXT': { |
| 1637 'gen_cmd': False, | 1637 'gen_cmd': False, |
| 1638 'client_test': False, | 1638 'client_test': False, |
| 1639 'gl_test_func': 'glGetQueryObjectuiv', | 1639 'gl_test_func': 'glGetQueryObjectuiv', |
| 1640 'pepper_interface': 'Query', | 1640 'pepper_interface': 'Query', |
| 1641 }, | 1641 }, |
| 1642 'DiscardBackbufferCHROMIUM': { |
| 1643 'type': 'Custom', |
| 1644 'impl_func': False, |
| 1645 'unit_test': False, |
| 1646 'extension': True, |
| 1647 'chromium': True, |
| 1648 }, |
| 1649 'EnsureBackbufferCHROMIUM': { |
| 1650 'type': 'Custom', |
| 1651 'impl_func': False, |
| 1652 'unit_test': False, |
| 1653 'extension': True, |
| 1654 'chromium': True, |
| 1655 }, |
| 1642 } | 1656 } |
| 1643 | 1657 |
| 1644 | 1658 |
| 1645 def SplitWords(input_string): | 1659 def SplitWords(input_string): |
| 1646 """Transforms a input_string into a list of lower-case components. | 1660 """Transforms a input_string into a list of lower-case components. |
| 1647 | 1661 |
| 1648 Args: | 1662 Args: |
| 1649 input_string: the input string. | 1663 input_string: the input string. |
| 1650 | 1664 |
| 1651 Returns: | 1665 Returns: |
| (...skipping 4553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6205 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") | 6219 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") |
| 6206 | 6220 |
| 6207 if gen.errors > 0: | 6221 if gen.errors > 0: |
| 6208 print "%d errors" % gen.errors | 6222 print "%d errors" % gen.errors |
| 6209 return 1 | 6223 return 1 |
| 6210 return 0 | 6224 return 0 |
| 6211 | 6225 |
| 6212 | 6226 |
| 6213 if __name__ == '__main__': | 6227 if __name__ == '__main__': |
| 6214 sys.exit(main(sys.argv[1:])) | 6228 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |