[Webkit-unassigned] [Bug 98800] RoboHornetPro spends ~25% of total test time in WebCore::Region::Shape methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 11 15:31:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98800





--- Comment #9 from Eric Seidel <eric at webkit.org>  2012-10-11 15:32:07 PST ---
One example of #3 might be:

class RegionBuilder {
void addRect()
{
// Adds m_rects.
}
void addRegion()
{
// Add to m_regions.
}
const Region& combinedRegion()
{
// build m_region from m_regions and m_rects if necessary, clear them and return the combined region.
}
private:
Vector<IntRect> m_rects;
Vector<Region> m_regions;
Region m_region;
};
typedef OverlayMap RegionBuilder;

I don't know if that would work well for the OverlayMap usecase.  It would depend on the ratio of adds to reads.  Simon might know better how often overlayMap is read back during computeCompositingRequirements.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list