OLD | NEW |
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 'names': ['glCopyTexSubImage2D'], | 253 'names': ['glCopyTexSubImage2D'], |
254 'arguments': | 254 'arguments': |
255 'GLenum target, GLint level, GLint xoffset, ' | 255 'GLenum target, GLint level, GLint xoffset, ' |
256 'GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height', }, | 256 'GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height', }, |
257 { 'return_type': 'void', | 257 { 'return_type': 'void', |
258 'versions': [{ 'name': 'glCopyTexSubImage3D' }], | 258 'versions': [{ 'name': 'glCopyTexSubImage3D' }], |
259 'arguments': | 259 'arguments': |
260 'GLenum target, GLint level, GLint xoffset, GLint yoffset, ' | 260 'GLenum target, GLint level, GLint xoffset, GLint yoffset, ' |
261 'GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height', }, | 261 'GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height', }, |
262 { 'return_type': 'void', | 262 { 'return_type': 'void', |
| 263 'names': ['glCoverageModulationNV'], |
| 264 'arguments': 'GLenum components'}, |
| 265 { 'return_type': 'void', |
263 'names': ['glCoverFillPathInstancedNV'], | 266 'names': ['glCoverFillPathInstancedNV'], |
264 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, ' | 267 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, ' |
265 'GLuint pathBase, GLenum coverMode, GLenum transformType, ' | 268 'GLuint pathBase, GLenum coverMode, GLenum transformType, ' |
266 'const GLfloat* transformValues' }, | 269 'const GLfloat* transformValues' }, |
267 { 'return_type': 'void', | 270 { 'return_type': 'void', |
268 'names': ['glCoverFillPathNV'], | 271 'names': ['glCoverFillPathNV'], |
269 'arguments': 'GLuint path, GLenum coverMode' }, | 272 'arguments': 'GLuint path, GLenum coverMode' }, |
270 { 'return_type': 'void', | 273 { 'return_type': 'void', |
271 'names': ['glCoverStrokePathInstancedNV'], | 274 'names': ['glCoverStrokePathInstancedNV'], |
272 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, ' | 275 'arguments': 'GLsizei numPaths, GLenum pathNameType, const void* paths, ' |
(...skipping 2496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2769 'gl_enums_implementation_autogen.h'), | 2772 'gl_enums_implementation_autogen.h'), |
2770 'wb') | 2773 'wb') |
2771 GenerateEnumUtils(header_file, enum_header_filenames) | 2774 GenerateEnumUtils(header_file, enum_header_filenames) |
2772 header_file.close() | 2775 header_file.close() |
2773 ClangFormat(header_file.name) | 2776 ClangFormat(header_file.name) |
2774 return 0 | 2777 return 0 |
2775 | 2778 |
2776 | 2779 |
2777 if __name__ == '__main__': | 2780 if __name__ == '__main__': |
2778 sys.exit(main(sys.argv[1:])) | 2781 sys.exit(main(sys.argv[1:])) |
OLD | NEW |