android: try to load gallium_dri.so directly
authorChih-Wei Huang <cwhuang@android-x86.org>
Wed, 20 May 2015 03:25:30 +0000 (11:25 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 9 Jun 2015 19:25:15 +0000 (12:25 -0700)
commitc3b5afbd4e682f76e16ea85883af571165bd24ee
tree0a9ad61bb660b25795c4f5f1520b7fb922a9604e
parentac296aee58158ccf1953e812a04f99eb5f8eb57b
android: try to load gallium_dri.so directly

This avoids needing hardlinks between all of the DRI driver .so names,
since we're the only loader on the system.

v2: Add early exit on success (like previous block) and log message on
    failure.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/egl/drivers/dri2/egl_dri2.c