mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
egl: drop unused _EGLDriver from DupNativeFenceFDANDROID()
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>
This commit is contained in:
parent
f49805c441
commit
692b9c6ed0
3 changed files with 3 additions and 4 deletions
|
|
@ -3460,7 +3460,7 @@ dri2_destroy_sync(_EGLDisplay *disp, _EGLSync *sync)
|
|||
}
|
||||
|
||||
static EGLint
|
||||
dri2_dup_native_fence_fd(const _EGLDriver *drv, _EGLDisplay *disp, _EGLSync *sync)
|
||||
dri2_dup_native_fence_fd(_EGLDisplay *disp, _EGLSync *sync)
|
||||
{
|
||||
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
|
||||
struct dri2_egl_sync *dri2_sync = dri2_egl_sync(sync);
|
||||
|
|
|
|||
|
|
@ -2158,7 +2158,7 @@ eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSync sync)
|
|||
|
||||
_EGL_CHECK_SYNC(disp, s, EGL_NO_NATIVE_FENCE_FD_ANDROID, drv);
|
||||
assert(disp->Extensions.ANDROID_native_fence_sync);
|
||||
ret = drv->DupNativeFenceFDANDROID(drv, disp, s);
|
||||
ret = drv->DupNativeFenceFDANDROID(disp, s);
|
||||
|
||||
RETURN_EGL_EVAL(disp, ret);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -142,8 +142,7 @@ struct _egl_driver
|
|||
EGLint flags, EGLTime timeout);
|
||||
EGLint (*WaitSyncKHR)(_EGLDisplay *disp, _EGLSync *sync);
|
||||
EGLBoolean (*SignalSyncKHR)(_EGLDisplay *disp, _EGLSync *sync, EGLenum mode);
|
||||
EGLint (*DupNativeFenceFDANDROID)(const _EGLDriver *drv, _EGLDisplay *disp,
|
||||
_EGLSync *sync);
|
||||
EGLint (*DupNativeFenceFDANDROID)(_EGLDisplay *disp, _EGLSync *sync);
|
||||
|
||||
EGLBoolean (*SwapBuffersRegionNOK)(_EGLDisplay *disp, _EGLSurface *surf,
|
||||
EGLint numRects, const EGLint *rects);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue