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

Unified Diff: ui/gl/generate_bindings.py

Issue 2801713002: GLImageEGL: add dmabuf queries
Patch Set: remove enum BufferFormatModifier Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gl/gl_image_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index a4268c6358a6c843c4fc1062624c5907d7334959..82c7336788ef864f528c810cb2fddfaa37cf9b38 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -1961,6 +1961,25 @@ EGL_FUNCTIONS = [
'arguments':
'EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value', },
{ 'return_type': 'EGLBoolean',
+ 'versions': [{ 'name': 'eglQueryDmaBufFormatsEXT',
+ 'extensions':
+ ['EGL_EXT_image_dma_buf_import_modifiers',
+ 'EGL_EXT_image_dma_buf_import',
+ 'EGL_KHR_image_base'] }],
+ 'arguments':
+ 'EGLDisplay dpy, EGLint max_formats, EGLint* formats,'
+ 'EGLint* num_formats' },
+{ 'return_type': 'EGLBoolean',
+ 'versions': [{ 'name': 'eglQueryDmaBufModifiersEXT',
+ 'extensions':
+ ['EGL_EXT_image_dma_buf_import_modifiers',
+ 'EGL_EXT_image_dma_buf_import',
+ 'EGL_KHR_image_base'] }],
+ 'arguments':
+ 'EGLDisplay dpy, EGLint format, EGLint max_modifiers, '
+ 'EGLuint64KHR* modifiers, EGLBoolean* external_only, '
+ 'EGLint* num_modifiers' },
+{ 'return_type': 'EGLBoolean',
'versions': [{ 'name': 'eglQueryStreamKHR',
'extensions': ['EGL_KHR_stream'] }],
'arguments':
« no previous file with comments | « no previous file | ui/gl/gl_image_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698