Re: [Mesa-dev] [PATCH 3/6] st/dri: fix dri2_from_planar for multiplanar images

2019-04-19 Thread Eric Anholt
Lucas Stach writes: > From: Philipp Zabel > > Fix the gbm_dri_bo_get_handle_for_plane use case by allowing plane > 0 > in dri2_from_planar for images with multiple planes in separate chained > texture resources. This looks like a partial fix to me -- the dup will leave the child image with the

[Mesa-dev] [PATCH 3/6] st/dri: fix dri2_from_planar for multiplanar images

2019-04-12 Thread Lucas Stach
From: Philipp Zabel Fix the gbm_dri_bo_get_handle_for_plane use case by allowing plane > 0 in dri2_from_planar for images with multiple planes in separate chained texture resources. Signed-off-by: Philipp Zabel --- src/gallium/state_trackers/dri/dri2.c | 12 +++- 1 file changed, 11 ins