[PATCH weston] simple-dmabuf-drm: use GBM generic calls
agx at sigxcpu.org
Wed Jul 11 09:16:33 UTC 2018
On Tue, Jul 10, 2018 at 05:53:15PM +0200, Emilio Pozuelo Monfort wrote:
> No need to write libdrm driver specific code for each supported
> driver, we can just let GBM call the right one for us now.
> Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
> This simplifies the code a lot, using gbm_bo as Emil suggested. Some problems
> I still see:
> - NV12 doesn't work, it seems that backends/dri/gbm_dri.c:gbm_format_to_dri_format()
> doesn't support it.
Simple means of testing NV12 is a useful feature so it'd be sad to see
that go. Using weston-simple-dmabuf-v4l is much more involved as it
requires more setup.
More information about the wayland-devel