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

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

Issue 900233003: eglWaitSyncKHR is part of the EGL_KHR_wait_sync extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_autogen_egl.cc » ('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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 'names': ['eglWaitClient'], 1353 'names': ['eglWaitClient'],
1354 'arguments': 'void', }, 1354 'arguments': 'void', },
1355 { 'return_type': 'EGLBoolean', 1355 { 'return_type': 'EGLBoolean',
1356 'names': ['eglWaitGL'], 1356 'names': ['eglWaitGL'],
1357 'arguments': 'void', }, 1357 'arguments': 'void', },
1358 { 'return_type': 'EGLBoolean', 1358 { 'return_type': 'EGLBoolean',
1359 'names': ['eglWaitNative'], 1359 'names': ['eglWaitNative'],
1360 'arguments': 'EGLint engine', }, 1360 'arguments': 'EGLint engine', },
1361 { 'return_type': 'EGLint', 1361 { 'return_type': 'EGLint',
1362 'versions': [{ 'name': 'eglWaitSyncKHR', 1362 'versions': [{ 'name': 'eglWaitSyncKHR',
1363 'extensions': ['EGL_KHR_fence_sync', 'EGL_KHR_wait_sync'] }], 1363 'extensions': ['EGL_KHR_wait_sync'] }],
1364 'arguments': 'EGLDisplay dpy, EGLSyncKHR sync, EGLint flags' }, 1364 'arguments': 'EGLDisplay dpy, EGLSyncKHR sync, EGLint flags' },
1365 ] 1365 ]
1366 1366
1367 WGL_FUNCTIONS = [ 1367 WGL_FUNCTIONS = [
1368 { 'return_type': 'BOOL', 1368 { 'return_type': 'BOOL',
1369 'names': ['wglChoosePixelFormatARB'], 1369 'names': ['wglChoosePixelFormatARB'],
1370 'arguments': 1370 'arguments':
1371 'HDC dc, const int* int_attrib_list, const float* float_attrib_list, ' 1371 'HDC dc, const int* int_attrib_list, const float* float_attrib_list, '
1372 'UINT max_formats, int* formats, UINT* num_formats', }, 1372 'UINT max_formats, int* formats, UINT* num_formats', },
1373 { 'return_type': 'BOOL', 1373 { 'return_type': 'BOOL',
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 'gl_enums_implementation_autogen.h'), 2550 'gl_enums_implementation_autogen.h'),
2551 'wb') 2551 'wb')
2552 GenerateEnumUtils(header_file, enum_header_filenames) 2552 GenerateEnumUtils(header_file, enum_header_filenames)
2553 header_file.close() 2553 header_file.close()
2554 ClangFormat(header_file.name) 2554 ClangFormat(header_file.name)
2555 return 0 2555 return 0
2556 2556
2557 2557
2558 if __name__ == '__main__': 2558 if __name__ == '__main__':
2559 sys.exit(main(sys.argv[1:])) 2559 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698