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

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: Add kGLImplementationMockGL case to gl_image_android.cc. 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4736 matching lines...) Expand 10 before | Expand all | Expand 10 after
6508 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6520 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6509 6521
6510 if gen.errors > 0: 6522 if gen.errors > 0:
6511 print "%d errors" % gen.errors 6523 print "%d errors" % gen.errors
6512 return 1 6524 return 1
6513 return 0 6525 return 0
6514 6526
6515 6527
6516 if __name__ == '__main__': 6528 if __name__ == '__main__':
6517 sys.exit(main(sys.argv[1:])) 6529 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698