From: Derek Foreman Date: Tue, 10 Jan 2017 21:21:47 +0000 (-0600) Subject: egl/dri2: add image_loader_extension back into loader extensions for wayland X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=534ea2b5ba0282a350dc02d21bfbc8ffa1f8635d;p=mesa.git egl/dri2: add image_loader_extension back into loader extensions for wayland before commit f871946594129500a67c05a6d9fe99db54b4bb64 image_loader_extension was always present in dri2_dpy->extensions, after that commit it is only present for render nodes. Its removal broke partial render based on buffer age on (at least) raspberry pi. Fixes: f8719465941 "egl/dri2: rework dri2_egl_display::extensions storage" Signed-off-by: Derek Foreman Reviewed-by: Emil Velikov --- diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 395f1e181d3..fd4812a4fee 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -1080,6 +1080,7 @@ static struct dri2_egl_display_vtbl dri2_wl_display_vtbl = { static const __DRIextension *dri2_loader_extensions[] = { &dri2_loader_extension.base, + &image_loader_extension.base, &image_lookup_extension.base, &use_invalidate.base, NULL,