Fixed bounding box problems in readback/binaryswap

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Back in June I mentioned that the bounding box code in the readback 
and binaryswap SPUs was broken.  Basically, only the last 
user-specified bounding box was being used to compute the screen-space 
bounds of the rendering (all previous ones were effectively ignored).

Now there's a bboxUnion field in the WindowInfo struct that keeps 
track of the window-space union of all bounding boxes specified during 
a frame.  That bounding box is then used during compositing.

I also updated the psubmit.c and spheres.c demos to specify bounding 
boxes when the -bbox option is given.  Things appear to be working 
correctly now.

-Brian


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.