egl/android: use the image_driver alongside the image_loader
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 8 May 2017 17:39:12 +0000 (18:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 15:59:39 +0000 (16:59 +0100)
commitacf125ed3aa64a1f62c1372b01e8274b50fc081a
tree2ed60bd8c12d06f418437fc04bacc28b3e22e772
parent6b46854269ed50f405faeb0f1f7e484b11dca2b4
egl/android: use the image_driver alongside the image_loader

They are meant to be used together. Otherwise we'll need workarounds
like egl/wayland. Namely register an image_loader_extension even thought
we should be using only DRI2.

v2: Add missing the bracket to fix the build (Tapani).

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/egl/drivers/dri2/platform_android.c