[PATCH] EXA: Try to prevent the valid regions from growing too many rects.

Michel Dänzer michel at daenzer.net
Sat Feb 14 08:53:41 PST 2009


On Sat, 2009-02-14 at 17:51 +0100, Maarten Maathuis wrote:
> On Sat, Feb 14, 2009 at 2:28 PM, Michel Dänzer <michel at daenzer.net> wrote:
> > +    /* Try to prevent source valid region from growing too many rects */
> > +    if (REGION_NUM_RECTS(pValidSrc) > 10)
> > +       REGION_SUBTRACT(pScreen, pValidSrc, pValidSrc, pValidDst);
> 
> You're removing the valid dst region from the src region, why?

See the comment... Any better ideas how to achieve that?


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


More information about the xorg-devel mailing list