Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 'client_test': False, 1690 'client_test': False,
1691 'gl_test_func': 'glGetQueryiv', 1691 'gl_test_func': 'glGetQueryiv',
1692 'pepper_interface': 'Query', 1692 'pepper_interface': 'Query',
1693 }, 1693 },
1694 'GetQueryObjectuivEXT': { 1694 'GetQueryObjectuivEXT': {
1695 'gen_cmd': False, 1695 'gen_cmd': False,
1696 'client_test': False, 1696 'client_test': False,
1697 'gl_test_func': 'glGetQueryObjectuiv', 1697 'gl_test_func': 'glGetQueryObjectuiv',
1698 'pepper_interface': 'Query', 1698 'pepper_interface': 'Query',
1699 }, 1699 },
1700 'TexImagePixmap2DCHROMIUM': {
1701 'decoder_func': 'DoTexImagePixmap2DCHROMIUM',
1702 'unit_test': False,
1703 'extension': True,
1704 'chromium': True,
1705 },
1700 } 1706 }
1701 1707
1702 1708
1703 def SplitWords(input_string): 1709 def SplitWords(input_string):
1704 """Transforms a input_string into a list of lower-case components. 1710 """Transforms a input_string into a list of lower-case components.
1705 1711
1706 Args: 1712 Args:
1707 input_string: the input string. 1713 input_string: the input string.
1708 1714
1709 Returns: 1715 Returns:
(...skipping 4550 matching lines...) Expand 10 before | Expand all | Expand 10 after
6260 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6266 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6261 6267
6262 if gen.errors > 0: 6268 if gen.errors > 0:
6263 print "%d errors" % gen.errors 6269 print "%d errors" % gen.errors
6264 return 1 6270 return 1
6265 return 0 6271 return 0
6266 6272
6267 6273
6268 if __name__ == '__main__': 6274 if __name__ == '__main__':
6269 sys.exit(main(sys.argv[1:])) 6275 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698