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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 'client_test': False, | 1698 'client_test': False, |
1699 'gl_test_func': 'glGetQueryObjectuiv', | 1699 'gl_test_func': 'glGetQueryObjectuiv', |
1700 'pepper_interface': 'Query', | 1700 'pepper_interface': 'Query', |
1701 }, | 1701 }, |
1702 'BindUniformLocationCHROMIUM': { | 1702 'BindUniformLocationCHROMIUM': { |
1703 'type': 'GLchar', | 1703 'type': 'GLchar', |
1704 'bucket': True, | 1704 'bucket': True, |
1705 'needs_size': True, | 1705 'needs_size': True, |
1706 'gl_test_func': 'DoBindUniformLocationCHROMIUM', | 1706 'gl_test_func': 'DoBindUniformLocationCHROMIUM', |
1707 }, | 1707 }, |
| 1708 'TexImagePixmap2DCHROMIUM': { |
| 1709 'decoder_func': 'DoTexImagePixmap2DCHROMIUM', |
| 1710 'unit_test': False, |
| 1711 'extension': True, |
| 1712 'chromium': True, |
| 1713 }, |
1708 } | 1714 } |
1709 | 1715 |
1710 | 1716 |
1711 def SplitWords(input_string): | 1717 def SplitWords(input_string): |
1712 """Transforms a input_string into a list of lower-case components. | 1718 """Transforms a input_string into a list of lower-case components. |
1713 | 1719 |
1714 Args: | 1720 Args: |
1715 input_string: the input string. | 1721 input_string: the input string. |
1716 | 1722 |
1717 Returns: | 1723 Returns: |
(...skipping 4550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6268 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") | 6274 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") |
6269 | 6275 |
6270 if gen.errors > 0: | 6276 if gen.errors > 0: |
6271 print "%d errors" % gen.errors | 6277 print "%d errors" % gen.errors |
6272 return 1 | 6278 return 1 |
6273 return 0 | 6279 return 0 |
6274 | 6280 |
6275 | 6281 |
6276 if __name__ == '__main__': | 6282 if __name__ == '__main__': |
6277 sys.exit(main(sys.argv[1:])) | 6283 sys.exit(main(sys.argv[1:])) |
OLD | NEW |