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

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

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 5 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 | « third_party/khronos/README.chromium ('k') | ui/gl/gl_bindings_api_autogen_egl.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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 ] }], 1489 ] }],
1490 'arguments': 'EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, ' 1490 'arguments': 'EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, '
1491 'EGLint* value' }, 1491 'EGLint* value' },
1492 { 'return_type': 'EGLBoolean', 1492 { 'return_type': 'EGLBoolean',
1493 'names': ['eglGetSyncValuesCHROMIUM'], 1493 'names': ['eglGetSyncValuesCHROMIUM'],
1494 'arguments': 1494 'arguments':
1495 'EGLDisplay dpy, EGLSurface surface, ' 1495 'EGLDisplay dpy, EGLSurface surface, '
1496 'EGLuint64CHROMIUM* ust, EGLuint64CHROMIUM* msc, ' 1496 'EGLuint64CHROMIUM* ust, EGLuint64CHROMIUM* msc, '
1497 'EGLuint64CHROMIUM* sbc', }, 1497 'EGLuint64CHROMIUM* sbc', },
1498 { 'return_type': 'EGLBoolean', 1498 { 'return_type': 'EGLBoolean',
1499 'names': ['eglImageFlushExternalEXT'],
1500 'arguments':
1501 'EGLDisplay dpy, EGLImageKHR image, const EGLAttrib* attrib_list' },
1502 { 'return_type': 'EGLBoolean',
1499 'names': ['eglInitialize'], 1503 'names': ['eglInitialize'],
1500 'arguments': 'EGLDisplay dpy, EGLint* major, EGLint* minor', }, 1504 'arguments': 'EGLDisplay dpy, EGLint* major, EGLint* minor', },
1501 { 'return_type': 'EGLBoolean', 1505 { 'return_type': 'EGLBoolean',
1502 'names': ['eglMakeCurrent'], 1506 'names': ['eglMakeCurrent'],
1503 'arguments': 1507 'arguments':
1504 'EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx', }, 1508 'EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx', },
1505 { 'return_type': 'EGLBoolean', 1509 { 'return_type': 'EGLBoolean',
1506 'names': ['eglPostSubBufferNV'], 1510 'names': ['eglPostSubBufferNV'],
1507 'arguments': 'EGLDisplay dpy, EGLSurface surface, ' 1511 'arguments': 'EGLDisplay dpy, EGLSurface surface, '
1508 'EGLint x, EGLint y, EGLint width, EGLint height', }, 1512 'EGLint x, EGLint y, EGLint width, EGLint height', },
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
2876 'gl_enums_implementation_autogen.h'), 2880 'gl_enums_implementation_autogen.h'),
2877 'wb') 2881 'wb')
2878 GenerateEnumUtils(header_file, enum_header_filenames) 2882 GenerateEnumUtils(header_file, enum_header_filenames)
2879 header_file.close() 2883 header_file.close()
2880 ClangFormat(header_file.name) 2884 ClangFormat(header_file.name)
2881 return 0 2885 return 0
2882 2886
2883 2887
2884 if __name__ == '__main__': 2888 if __name__ == '__main__':
2885 sys.exit(main(sys.argv[1:])) 2889 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « third_party/khronos/README.chromium ('k') | ui/gl/gl_bindings_api_autogen_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698