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

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: Move CreateGLImage below virtual methods. Created 8 years, 2 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 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 'resource_types': 'VertexArrays', 1752 'resource_types': 'VertexArrays',
1753 'unit_test': False, 1753 'unit_test': False,
1754 }, 1754 },
1755 'IsVertexArrayOES': { 1755 'IsVertexArrayOES': {
1756 'type': 'Is', 1756 'type': 'Is',
1757 'gl_test_func': 'glIsVertexArrayOES', 1757 'gl_test_func': 'glIsVertexArrayOES',
1758 'decoder_func': 'DoIsVertexArrayOES', 1758 'decoder_func': 'DoIsVertexArrayOES',
1759 'expectation': False, 1759 'expectation': False,
1760 'unit_test': False, 1760 'unit_test': False,
1761 }, 1761 },
1762 'BindTexImage2DCHROMIUM': {
1763 'decoder_func': 'DoBindTexImage2DCHROMIUM',
1764 'unit_test': False,
1765 'extension': True,
1766 'chromium': True,
1767 },
1768 'ReleaseTexImage2DCHROMIUM': {
1769 'decoder_func': 'DoReleaseTexImage2DCHROMIUM',
1770 'unit_test': False,
1771 'extension': True,
1772 'chromium': True,
1773 },
1762 } 1774 }
1763 1775
1764 1776
1765 def SplitWords(input_string): 1777 def SplitWords(input_string):
1766 """Transforms a input_string into a list of lower-case components. 1778 """Transforms a input_string into a list of lower-case components.
1767 1779
1768 Args: 1780 Args:
1769 input_string: the input string. 1781 input_string: the input string.
1770 1782
1771 Returns: 1783 Returns:
(...skipping 4649 matching lines...) Expand 10 before | Expand all | Expand 10 after
6421 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6433 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6422 6434
6423 if gen.errors > 0: 6435 if gen.errors > 0:
6424 print "%d errors" % gen.errors 6436 print "%d errors" % gen.errors
6425 return 1 6437 return 1
6426 return 0 6438 return 0
6427 6439
6428 6440
6429 if __name__ == '__main__': 6441 if __name__ == '__main__':
6430 sys.exit(main(sys.argv[1:])) 6442 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698