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

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: Remove .gitmodules change. Created 8 years, 5 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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698