egl/dri2: add image_loader_extension back into loader extensions for wayland
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 10 Jan 2017 21:21:47 +0000 (15:21 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 11 Jan 2017 15:58:14 +0000 (15:58 +0000)
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 <derekf@osg.samsung.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_wayland.c

index 395f1e181d3da1abf7764dfadd92fa4bdb644104..fd4812a4feee2f022f1f761af6488199392ff43b 100644 (file)
@@ -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,