From cf663d0d11c669780326e08ab9c49371d0c0afe3 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 2 Aug 2020 01:54:33 +0200 Subject: [PATCH] egl: move extension driver functions after core functions Signed-off-by: Eric Engestrom Reviewed-by: Frank Binns Reviewed-by: Emil Velikov Part-of: --- src/egl/main/egldriver.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 2d1ac870693..6721a8d92d1 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -86,8 +86,6 @@ struct _egl_driver /* driver funcs */ EGLBoolean (*Initialize)(_EGLDisplay *disp); EGLBoolean (*Terminate)(_EGLDisplay *disp); - const char *(*QueryDriverName)(_EGLDisplay *disp); - char *(*QueryDriverConfig)(_EGLDisplay *disp); /* context funcs */ _EGLContext *(*CreateContext)(_EGLDisplay *disp, _EGLConfig *config, @@ -175,6 +173,9 @@ struct _egl_driver EGLint *fds, EGLint *strides, EGLint *offsets); + const char *(*QueryDriverName)(_EGLDisplay *disp); + char *(*QueryDriverConfig)(_EGLDisplay *disp); + int (*GLInteropQueryDeviceInfo)(_EGLDisplay *disp, _EGLContext *ctx, struct mesa_glinterop_device_info *out); int (*GLInteropExportObject)(_EGLDisplay *disp, _EGLContext *ctx, -- 2.30.2