egl/android: simplify device open/probe
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 8 Aug 2018 14:40:56 +0000 (15:40 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Aug 2018 10:52:44 +0000 (11:52 +0100)
commit2c049384b1638fb25e7f9cfd423500ac19a48b72
treeb129ca3d3ebd49dc14a451f83c98ae51137c6aec
parent2f8403a4ca523eada114505219b9f7e542be2869
egl/android: simplify device open/probe

Currently droid_probe_device, does not do any 'probing' but filtering
out a device if it doesn't match the vendor string given.

Rename the function, straighten the return type and call it only as
needed - an actual vendor string is provided.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
src/egl/drivers/dri2/platform_android.c