Hi Varad,

On 17 November 2016 at 11:55, Varad Gautam <varadgau...@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 <dani...@collabora.com>

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to