[Mesa-dev] [PATCH v2 0/2] egl/android: Support YUV formats in a gralloc-agnostic way
Tomasz Figa
tfiga at chromium.org
Thu Nov 10 07:55:51 UTC 2016
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
More information about the mesa-dev
mailing list