egl: android: don't add the image loader extension for !render_node
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 4 Jun 2016 00:09:14 +0000 (01:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 7 Jun 2016 11:21:45 +0000 (12:21 +0100)
commit1816c837c1906382c370d65afe65a691738fd03b
tree48c8cf9c2c048411b73dfb377072ba853ed5d9df
parent095803a37aa67361fc68604e81f858f31ae59b1b
egl: android: don't add the image loader extension for !render_node

With earlier commit we introduced support for render_node devices, which
was couples with the use of the image loader extension.

As the work was inspired by egl/wayland we (erroneously) added the
extension for the !render_node path as well.

That works for wayland, as the implementations of the DRI2 and IMAGE
loader extensions converge behind the scenes. As that is not yet
the case for Android we shouldn't expose the extension.

Fixes: 34ddef39cef ("egl: android: add dma-buf fd support")

Cc: <mesa-stable@lists.freedesktop.org>
Reported-by: Mauro Rossi <issor.oruam@gmail.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/platform_android.c