[Webkit-unassigned] [Bug 10817] <pattern> should not use CGLayer (30% of our time drawing patterns in large SVG)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 21 03:50:14 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=10817
------- Comment #3 from macdome at opendarwin.org 2006-12-21 03:50 PDT -------
I'm not sure this truly counts as resolved. We've just shifted the timing to a
different CG call now.
I wrote a mail about this to several webkit folks:
1. 50% of the time is spent filling paths. Looking at the sample, it's all
down in CG pattern code. I originally suspected that this was due to webkit
blowing away CGPattern-related caches every time draw by destroying the
CGPattern object in teardown(). (Ideally WebKit should cache the CGPattern
object on the SVGPaintServerPatternCg instance, and only regenerate it when the
paintserver changes.) But I made a quick hack to keep m_pattern around, and
yet I still see 50% of the time spent filling paths. WebKit may still be
blowing away those caches more often that I expect (by resetting the tile, or
destroying the paintserver), or something else could be wrong. Oliver might
want to chat with Andrew B.
We (I) can file a separate bug to track such if you like.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list