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

Pekka Paalanen ppaalanen at gmail.com
Tue May 29 08:44:36 UTC 2018


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,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180529/6cd06290/attachment.sig>


More information about the wayland-devel mailing list