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

Unified Diff: ui/gl/gl_bindings_autogen_egl.h

Issue 2418613004: ui: Add EGL_ANDROID_native_fence_sync support.
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_egl.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_autogen_egl.h
diff --git a/ui/gl/gl_bindings_autogen_egl.h b/ui/gl/gl_bindings_autogen_egl.h
index 4eb2e9dd790cd3e021099233490433e05e415cfa..eb5e3368499e419f0adebe062aa17f1feffad610 100644
--- a/ui/gl/gl_bindings_autogen_egl.h
+++ b/ui/gl/gl_bindings_autogen_egl.h
@@ -87,6 +87,9 @@ typedef EGLBoolean(GL_BINDING_CALL* eglDestroySurfaceProc)(EGLDisplay dpy,
EGLSurface surface);
typedef EGLBoolean(GL_BINDING_CALL* eglDestroySyncKHRProc)(EGLDisplay dpy,
EGLSyncKHR sync);
+typedef EGLint(GL_BINDING_CALL* eglDupNativeFenceFDANDROIDProc)(
+ EGLDisplay dpy,
+ EGLSyncKHR sync);
typedef EGLBoolean(GL_BINDING_CALL* eglGetConfigAttribProc)(EGLDisplay dpy,
EGLConfig config,
EGLint attribute,
@@ -209,6 +212,7 @@ typedef EGLint(GL_BINDING_CALL* eglWaitSyncKHRProc)(EGLDisplay dpy,
struct ExtensionsEGL {
bool b_EGL_EXT_platform_base;
+ bool b_EGL_ANDROID_native_fence_sync;
bool b_EGL_ANGLE_d3d_share_handle_client_buffer;
bool b_EGL_ANGLE_query_surface_pointer;
bool b_EGL_ANGLE_stream_producer_d3d_texture_nv12;
@@ -250,6 +254,7 @@ struct ProcsEGL {
eglDestroyStreamKHRProc eglDestroyStreamKHRFn;
eglDestroySurfaceProc eglDestroySurfaceFn;
eglDestroySyncKHRProc eglDestroySyncKHRFn;
+ eglDupNativeFenceFDANDROIDProc eglDupNativeFenceFDANDROIDFn;
eglGetConfigAttribProc eglGetConfigAttribFn;
eglGetConfigsProc eglGetConfigsFn;
eglGetCurrentContextProc eglGetCurrentContextFn;
@@ -357,6 +362,8 @@ class GL_EXPORT EGLApi {
virtual EGLBoolean eglDestroySurfaceFn(EGLDisplay dpy,
EGLSurface surface) = 0;
virtual EGLBoolean eglDestroySyncKHRFn(EGLDisplay dpy, EGLSyncKHR sync) = 0;
+ virtual EGLint eglDupNativeFenceFDANDROIDFn(EGLDisplay dpy,
+ EGLSyncKHR sync) = 0;
virtual EGLBoolean eglGetConfigAttribFn(EGLDisplay dpy,
EGLConfig config,
EGLint attribute,
@@ -492,6 +499,8 @@ class GL_EXPORT EGLApi {
#define eglDestroyStreamKHR ::gl::g_current_egl_context->eglDestroyStreamKHRFn
#define eglDestroySurface ::gl::g_current_egl_context->eglDestroySurfaceFn
#define eglDestroySyncKHR ::gl::g_current_egl_context->eglDestroySyncKHRFn
+#define eglDupNativeFenceFDANDROID \
+ ::gl::g_current_egl_context->eglDupNativeFenceFDANDROIDFn
#define eglGetConfigAttrib ::gl::g_current_egl_context->eglGetConfigAttribFn
#define eglGetConfigs ::gl::g_current_egl_context->eglGetConfigsFn
#define eglGetCurrentContext ::gl::g_current_egl_context->eglGetCurrentContextFn
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_egl.h ('k') | ui/gl/gl_bindings_autogen_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698