[PATCH weston v2 1/1] simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12 as well

Guido Günther agx at sigxcpu.org
Tue May 29 08:51:52 UTC 2018


Hi,
On Tue, May 29, 2018 at 11:44:36AM +0300, Pekka Paalanen wrote:
> On Mon, 28 May 2018 17:41:57 +0200
> Guido Günther <agx at sigxcpu.org> wrote:
> 
> > This makes --import-format=NV12 testable on e.g. intel
> > 
> > We only set nv12_format_found to true if we found that format and at
> > least one understood modifier. Store modifier verbatim instead of using
> > a boolean flag. Last advertised and supported modifier currently wins.
> > 
> > The NV12 DRM_FORMAT_LINEAR image should be green in the upper left
> > corner and white in the lower right.
> > 
> > Signed-off-by: Guido Günther <agx at sigxcpu.org>
> > ---
> >  clients/simple-dmabuf-drm.c | 55 +++++++++++++++++++++++++------------
> >  1 file changed, 38 insertions(+), 17 deletions(-)
> > 
> 
> Pushed:
>    74742e05..da188835  master -> master

Thanks for handling this!
 -- Guido


More information about the wayland-devel mailing list