From: Eric Engestrom Date: Sat, 1 Aug 2020 23:54:33 +0000 (+0200) Subject: egl: move extension driver functions after core functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf663d0d11c669780326e08ab9c49371d0c0afe3;p=mesa.git egl: move extension driver functions after core functions Signed-off-by: Eric Engestrom Reviewed-by: Frank Binns Reviewed-by: Emil Velikov Part-of: --- 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,