Current EGL Android backend supports YUV format in a very limited form, with the only format supported being YV12 and plane strides and sizes calculated with hardcoded alignment assumptions. This series attempts to fix this by changing the backend to use the lock_ycbcr API available in Gralloc, which allows handling of flexible YUV formats and querying the fixed YV12 for plane parameters.
Tomasz Figa (2): egl/android: Get gralloc module in dri2_initialize_android() (v2) egl/android: Use gralloc::lock_ycbcr for resolving YUV formats (v2) src/egl/drivers/dri2/egl_dri2.h | 4 + src/egl/drivers/dri2/platform_android.c | 189 +++++++++++++++++++++++++------- 2 files changed, 155 insertions(+), 38 deletions(-) -- 2.8.0.rc3.226.g39d4020 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev