[Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize

Chia-I Wu olvaffe at gmail.com
Sun Oct 31 10:08:37 PDT 2010


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