Hi Varad,

On 17 November 2016 at 11:55, Varad Gautam <[email protected]> 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 <[email protected]>

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to