On 7/1/06, Michel Dänzer <[EMAIL PROTECTED]> wrote:
> > > Actually, this points out the possible source of the remaining problems:
> > > x2 and y2 also need clamping to fbWidth-1 and fbHeight-1, respectively,
> > > and if (x1 >= x2 || y1 >= y2), the cliprect is empty and should be
> > > skipped.
>
> Make that '[xy]2 should be clamped against fb{Width,Height}-1, not
> [xy]1, and if (x1 > x2 || y1 > y2) ...'.

I'm kinda hoping that the xserver isn't going to send windows
coordinates with negative width/height (ie assume drawable->[wh] > 0).
And that if the window is entirely offscreen, an unmap event will
cause nothing at all to be drawn (rmesa->driDrawable == NULL).

Have a nice day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to