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

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

Issue 2440783002: Load missing glGetInternalformativRobustANGLE entry point. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | ui/gl/gl_bindings_api_autogen_gl.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 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 { 'return_type': 'void', 701 { 'return_type': 'void',
702 'versions': [{'name': 'glGetIntegervRobustANGLE', 702 'versions': [{'name': 'glGetIntegervRobustANGLE',
703 'extensions': ['GL_ANGLE_robust_client_memory']}], 703 'extensions': ['GL_ANGLE_robust_client_memory']}],
704 'arguments': 704 'arguments':
705 'GLenum pname, GLsizei bufSize, GLsizei* length, GLint* data', }, 705 'GLenum pname, GLsizei bufSize, GLsizei* length, GLint* data', },
706 { 'return_type': 'void', 706 { 'return_type': 'void',
707 'versions': [{ 'name': 'glGetInternalformativ' }], 707 'versions': [{ 'name': 'glGetInternalformativ' }],
708 'arguments': 'GLenum target, GLenum internalformat, GLenum pname, ' 708 'arguments': 'GLenum target, GLenum internalformat, GLenum pname, '
709 'GLsizei bufSize, GLint* params', }, 709 'GLsizei bufSize, GLint* params', },
710 { 'return_type': 'void', 710 { 'return_type': 'void',
711 'versions': [{'name': 'glGetInternalformativRobustANGLE',
712 'extensions': ['GL_ANGLE_robust_client_memory']}],
713 'arguments':
714 'GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, '
715 'GLsizei* length, GLint* params', },
716 { 'return_type': 'void',
711 'versions': [{'name': 'glGetMultisamplefvRobustANGLE', 717 'versions': [{'name': 'glGetMultisamplefvRobustANGLE',
712 'extensions': ['GL_ANGLE_robust_client_memory']}], 718 'extensions': ['GL_ANGLE_robust_client_memory']}],
713 'arguments': 719 'arguments':
714 'GLenum pname, GLuint index, GLsizei bufSize, GLsizei* length, ' 720 'GLenum pname, GLuint index, GLsizei bufSize, GLsizei* length, '
715 'GLfloat* val', }, 721 'GLfloat* val', },
716 { 'return_type': 'void', 722 { 'return_type': 'void',
717 'versions': [{'name': 'glGetnUniformfvRobustANGLE', 723 'versions': [{'name': 'glGetnUniformfvRobustANGLE',
718 'extensions': ['GL_ANGLE_robust_client_memory']}], 724 'extensions': ['GL_ANGLE_robust_client_memory']}],
719 'arguments': 725 'arguments':
720 'GLuint program, GLint location, GLsizei bufSize, GLsizei* length, ' 726 'GLuint program, GLint location, GLsizei bufSize, GLsizei* length, '
(...skipping 2588 matching lines...) Expand 10 before | Expand all | Expand 10 after
3309 header_file = open( 3315 header_file = open(
3310 os.path.join(directory, 'gl_stub_autogen_gl.cc'), 'wb') 3316 os.path.join(directory, 'gl_stub_autogen_gl.cc'), 'wb')
3311 GenerateStubSource(header_file, GL_FUNCTIONS) 3317 GenerateStubSource(header_file, GL_FUNCTIONS)
3312 header_file.close() 3318 header_file.close()
3313 ClangFormat(header_file.name) 3319 ClangFormat(header_file.name)
3314 return 0 3320 return 0
3315 3321
3316 3322
3317 if __name__ == '__main__': 3323 if __name__ == '__main__':
3318 sys.exit(main(sys.argv[1:])) 3324 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_bindings_api_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698