egl: move extension driver functions after core functions
authorEric Engestrom <eric@engestrom.ch>
Sat, 1 Aug 2020 23:54:33 +0000 (01:54 +0200)
committerEric Engestrom <eric@engestrom.ch>
Thu, 27 Aug 2020 21:06:47 +0000 (23:06 +0200)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6130>

src/egl/main/egldriver.h

index 2d1ac8706934ff65bb64c96f23e4430d901c61e5..6721a8d92d1f426f89114c37dfdc32c8dfb8d337 100644 (file)
@@ -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,