egl: drop unused _EGLDriver from SetBlobCacheFuncsANDROID()
authorEric Engestrom <eric@engestrom.ch>
Sun, 22 Apr 2018 14:48:15 +0000 (16:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 16 Aug 2020 13:49:18 +0000 (13:49 +0000)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>

src/egl/drivers/dri2/egl_dri2.c
src/egl/main/eglapi.c
src/egl/main/egldriver.h

index a150f46bc86c158e52d567d86b76b79d4e6872a0..454ef05dbe51374743dc48645195917c24ea4de6 100644 (file)
@@ -3467,7 +3467,7 @@ dri2_dup_native_fence_fd(_EGLDisplay *disp, _EGLSync *sync)
 }
 
 static void
 }
 
 static void
-dri2_set_blob_cache_funcs(const _EGLDriver *drv, _EGLDisplay *disp,
+dri2_set_blob_cache_funcs(_EGLDisplay *disp,
                           EGLSetBlobFuncANDROID set,
                           EGLGetBlobFuncANDROID get)
 {
                           EGLSetBlobFuncANDROID set,
                           EGLGetBlobFuncANDROID get)
 {
index 39e1ca2c7e05473a8848595095f3e5bcb5a1abd0..deeee566e36e0782878bf7dc8d30cedd6446efa2 100644 (file)
@@ -2633,7 +2633,7 @@ eglSetBlobCacheFuncsANDROID(EGLDisplay *dpy, EGLSetBlobFuncANDROID set,
    disp->BlobCacheSet = set;
    disp->BlobCacheGet = get;
 
    disp->BlobCacheSet = set;
    disp->BlobCacheGet = get;
 
-   drv->SetBlobCacheFuncsANDROID(drv, disp, set, get);
+   drv->SetBlobCacheFuncsANDROID(disp, set, get);
 
    _eglUnlockDisplay(disp);
 }
 
    _eglUnlockDisplay(disp);
 }
index 933dd7422741615f0c3d18158d74413f9f89d8d2..d4fa5aab145ca90d110d38ac95423d46535fece9 100644 (file)
@@ -190,9 +190,9 @@ struct _egl_driver
                                          EGLBoolean *external_only,
                                          EGLint *num_modifiers);
 
                                          EGLBoolean *external_only,
                                          EGLint *num_modifiers);
 
-   void (*SetBlobCacheFuncsANDROID) (const _EGLDriver *drv, _EGLDisplay *disp,
-                                     EGLSetBlobFuncANDROID set,
-                                     EGLGetBlobFuncANDROID get);
+   void (*SetBlobCacheFuncsANDROID)(_EGLDisplay *disp,
+                                    EGLSetBlobFuncANDROID set,
+                                    EGLGetBlobFuncANDROID get);
 };
 
 
 };