On Mon, 2009-05-11 at 16:09 +0200, Jerome Glisse wrote:
> Hi Kristian, Ian
> 
> I am getting drawable size missmatch with new dri2 with format interface
> in ddx i get a size of screenx*(screeny-gnomebarsize) (from CreateBuffer
> callback in ddx) while in mesa i get screenx*screeny did you ever see
> that ? It happens with blender of course bad things happens pretty
> quickly when rendering start as ddx allocate a buffer smaller than what
> mesa thinks it's.
> 
> Cheers,
> Jerome

Okay so in xserver/hw/xfree86/dri2/dri2.c in do_get_buffers 
we use dri drawable width & height to return to mesa but for
get buffer we use the xdrawable and in my case the xdrawable
is smaller than the dri drawable don't know why.

Cheers,
Jerome



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to