mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-08 14:10:35 +02:00
After Turnip moved to u_gralloc, some users started complaining
about issues. It turns out that modern platforms do not have
grallocs{0,1} but have gralloc4 only. There's no
known way to build mesa3d with gralloc4 support using NDK.
So we add this workaround to fallback gralloc to mimic the original
behavior of the Turnip driver before switching to u_gralloc.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11171
Fixes:
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| u_gralloc.c | ||
| u_gralloc.h | ||
| u_gralloc_cros_api.c | ||
| u_gralloc_fallback.c | ||
| u_gralloc_imapper4_api.cpp | ||
| u_gralloc_internal.c | ||
| u_gralloc_internal.h | ||
| u_gralloc_libdrm.c | ||
| u_gralloc_libdrm.h | ||
| u_gralloc_qcom.c | ||