[Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize
krh at bitplanet.net
Sun Oct 31 10:33:21 PDT 2010
On Sun, Oct 31, 2010 at 1:08 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
> 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?
Hrm... yes, that's how the extension works. That's a little
inconsistent, but I guess we'll have to live with that. Thanks for
tracking it down, Benjamin.
More information about the mesa-dev