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

2010-10-31 Thread Kristian Høgsberg
On Sun, Oct 31, 2010 at 1:08 PM, Chia-I Wu wrote: > On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke > 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 no

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

2010-10-31 Thread ben
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 : > On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke > wrote: >> This Patch fixes DRMBuffer stride, which is to short when using >> wayland with r300g. (only one quarter

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

2010-10-31 Thread Chia-I Wu
On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke 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.. > B

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

2010-10-31 Thread Benjamin Franzke
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 c