[webkit-dev] Partial SVG repaint

Eric Seidel eric at webkit.org
Wed Oct 7 12:37:30 PDT 2009


SVG was designed to support this, it's just not been turned on yet.
It would be one little patch and a lot of little patches afterwards to
fix things that break. :)

You'd just add a checks in RenderSVGContainer and RenderPath to see if
the dirty rect intersected the repaintRectInLocalCoordinates.
http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderSVGContainer.cpp#L92
http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderPath.cpp#L115

I think that could add a bunch of under-painting bugs, but
theoretically if of stored bounding box calculations are correct, then
such a change should be fine.

I'm not sure I would suggest such a change as your first change to
WebKit though.  It could have lots of fallout. :)

-eric

On Tue, Oct 6, 2009 at 4:05 PM, Patrick Roland Gansterer
<paroga at paroga.com> wrote:
> I want to fix https://bugs.webkit.org/show_bug.cgi?id=30055.
>
> What is the prefered solution?
> Where is the best place to start?
> If i start the work i might ends up in one big patch. So what are the code
> areas i can create single patches from?
>
> Patrick
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list