[Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize
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 = buffers.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
> olv at LunarG.com
More information about the mesa-dev