GetPhysicalDeviceImageFormatProperties() must that an image {format,
flags, usage} combo is unsupported if gralloc will not be able to
perform the allocation. The practical way to test this is to do a
small test allocation.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29090>
The Android NDK doesn't come with enough of the platform libraries we need to build Mesa drivers out of tree, so android_stub has stub versions of those library that aren't installed which we link against, relying on the real libraries to be present when the Mesa driver is deployed.