On Sun, 2006-06-25 at 15:37 +0200, Martijn van Oosterhout wrote:
> 
> What I think is happening is that there is disagreement on whether the
> pClipRects field in __DRIdrawablePrivateRec is in screen coordinates
> or window coordinates. And the reason it only happens sometimes to
> polygons is because only sometimes is the program enabling an option
> that causes the code to fallback to software.
> 
> Currently the pClipRects are in screen coordinates, but I *think* the
> clipping code is assuming they're in window coordinates, which what
> causes the clipping to fail. So, could someone please tell me: what
> should those fields be relative to?

They have to be in screen coordinates, as all GLX contexts share the
colour and depth/stencil buffers, which cover the whole screen.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer



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