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

Side by Side Diff: ui/gl/generate_bindings.py

Issue 494843002: Revert of gpu: support immutable texture on Linux Mesa driver and GLES3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | no next file » | 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 GL/GLES extension wrangler.""" 6 """code generator for GL/GLES extension wrangler."""
7 7
8 import optparse 8 import optparse
9 import os 9 import os
10 import collections 10 import collections
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 { 'return_type': 'void', 613 { 'return_type': 'void',
614 'names': ['glTexParameterfv'], 614 'names': ['glTexParameterfv'],
615 'arguments': 'GLenum target, GLenum pname, const GLfloat* params', }, 615 'arguments': 'GLenum target, GLenum pname, const GLfloat* params', },
616 { 'return_type': 'void', 616 { 'return_type': 'void',
617 'names': ['glTexParameteri'], 617 'names': ['glTexParameteri'],
618 'arguments': 'GLenum target, GLenum pname, GLint param', }, 618 'arguments': 'GLenum target, GLenum pname, GLint param', },
619 { 'return_type': 'void', 619 { 'return_type': 'void',
620 'names': ['glTexParameteriv'], 620 'names': ['glTexParameteriv'],
621 'arguments': 'GLenum target, GLenum pname, const GLint* params', }, 621 'arguments': 'GLenum target, GLenum pname, const GLint* params', },
622 { 'return_type': 'void', 622 { 'return_type': 'void',
623 'names': ['glTexStorage2DEXT', 'glTexStorage2D'], 623 'names': ['glTexStorage2DEXT'],
624 'arguments': 'GLenum target, GLsizei levels, GLenum internalformat, ' 624 'arguments': 'GLenum target, GLsizei levels, GLenum internalformat, '
625 'GLsizei width, GLsizei height', }, 625 'GLsizei width, GLsizei height', },
626 { 'return_type': 'void', 626 { 'return_type': 'void',
627 'names': ['glTexSubImage2D'], 627 'names': ['glTexSubImage2D'],
628 'arguments': 628 'arguments':
629 'GLenum target, GLint level, GLint xoffset, GLint yoffset, ' 629 'GLenum target, GLint level, GLint xoffset, GLint yoffset, '
630 'GLsizei width, GLsizei height, GLenum format, GLenum type, ' 630 'GLsizei width, GLsizei height, GLenum format, GLenum type, '
631 'const void* pixels', }, 631 'const void* pixels', },
632 { 'return_type': 'void', 632 { 'return_type': 'void',
633 'names': ['glUniform1f'], 633 'names': ['glUniform1f'],
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
2045 2045
2046 source_file = open(os.path.join(directory, 'gl_bindings_autogen_mock.cc'), 2046 source_file = open(os.path.join(directory, 'gl_bindings_autogen_mock.cc'),
2047 'wb') 2047 'wb')
2048 GenerateMockBindingsSource(source_file, GL_FUNCTIONS) 2048 GenerateMockBindingsSource(source_file, GL_FUNCTIONS)
2049 source_file.close() 2049 source_file.close()
2050 return 0 2050 return 0
2051 2051
2052 2052
2053 if __name__ == '__main__': 2053 if __name__ == '__main__':
2054 sys.exit(main(sys.argv[1:])) 2054 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698