[PATCH weston 4/9] gl-renderer: allow importing fourth dmabuf plane

Daniel Stone daniel at fooishbar.org
Mon Nov 21 20:14:32 UTC 2016


Hi Varad,

On 17 November 2016 at 11:55, Varad Gautam <varadgautam at gmail.com> wrote:
> @@ -1621,6 +1621,21 @@ import_simple_dmabuf(struct gl_renderer *gr,
>                 }
>         }
>
> +       if (gr->has_dmabuf_import_modifiers) {
> +               if (attributes->n_planes > 3) {
> +                       attribs[atti++] = EGL_DMA_BUF_PLANE3_FD_EXT;
> +                       attribs[atti++] = attributes->fd[3];
> +                       attribs[atti++] = EGL_DMA_BUF_PLANE3_OFFSET_EXT;
> +                       attribs[atti++] = attributes->offset[3];
> +                       attribs[atti++] = EGL_DMA_BUF_PLANE2_PITCH_EXT;

PLANE3!

With that fixed:
Reviewed-by: Daniel Stone <daniels at collabora.com>

Cheers,
Daniel


More information about the wayland-devel mailing list