mesa/src/android_stub
David Stevens a2fb87eea6 egl/android: implement image cleanup callback
According to ANDROID_get_native_client_buffer, EGL implementations must
guarantee that the lifetime of an EGLClientBuffer returned by
eglGetNativeClientBufferANDROID is at least as long as that of the
EGLImage which is bound to. Do this by acquiring a reference to the
underlying AHardwareBuffer for all ANativeWindowBuffers which are bound
to an _EGLImage.

Signed-off-by: David Stevens <stevensd@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7805>
2020-12-15 06:05:27 +00:00
..
README.md
backtrace_stub.cpp
cutils_stub.cpp
hardware_stub.cpp
log_stub.cpp
meson.build egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
nativewindow_stub.cpp egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
sync_stub.cpp

README.md

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.