egl/android: Simplify droid_create_image_from_name() path
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 7 Aug 2020 00:39:47 +0000 (17:39 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Aug 2020 17:20:16 +0000 (17:20 +0000)
commit5c8b67ed0c4f0d54755aff2f247d4e7e6fd76af9
tree4f7a5ab0c7cd2bc76d22b89c38a2d6a1af37fd1d
parentd47b6f330cfb4c214fa84cfe8c7a435499600c2a
egl/android: Simplify droid_create_image_from_name() path

This can now return an __DRIimage which we'll wrap in the shared code
in dri2_create_image_android_native_buffer().

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6055>
src/egl/drivers/dri2/platform_android.c