[Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize
ben
benjaminfranzke at gmail.com
Sun Oct 31 10:15:45 PDT 2010
yes, at least in wayland it is used that way..:
compositor-x11.c:430 attribs[5] = buffers[0].pitch / 4;
2010/10/31 Chia-I Wu <olvaffe at gmail.com>:
> On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke
> <benjaminfranzke at googlemail.com> wrote:
>> This Patch fixes DRMBuffer stride, which is to short when using
>> wayland with r300g. (only one quarter of the screen has real data,
>> with some parts left out..)
>> Funnily, on nouveau wayland runs with and without this patch for me..
>> But hey, now wayland runs fine on r300g using x11-compositor and the
>> clients: flower,terminal,dnd.. :)
> Great! Patch applied.
>
> So, for eglExportDRMImageMESA the stride is in bytes and for
> eglCreateImageKHR, the stride is in pixels?
>
>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>>
>
>
>
> --
> olv at LunarG.com
>
More information about the mesa-dev
mailing list