Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Issue 741123002: Get rid of computeFloatRectForPaintInvalidation (Closed)

Created:
6 years, 1 month ago by fs
Modified:
6 years ago
Reviewers:
pdr., f(malita)
CC:
blink-reviews, blink-reviews-rendering, krit, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), fs, gyuyoung.kim_webkit.org, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, zoltan1
Project:
blink
Visibility:
Public.

Description

Get rid of computeFloatRectForPaintInvalidation All (real) implementations of this - except the one in RenderSVGRoot - forward to the SVGRenderSupport helper. The helper in turn just walks the ancestors and applies the transforms - until it reaches the SVG root, at which point it "crosses the border" and starts mapping the rect using the non-float methods (mapRectToPaintInvalidationBacking). The ancestors-within-SVG walk is easy to transform into an iteration until the SVG root is reached. The final rect can then be computed by mapping the rect through the SVG root. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185977

Patch Set 1 #

Total comments: 7

Patch Set 2 : Return reference; Fixup references in comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -47 lines) Patch
M Source/core/rendering/RenderObject.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGBlock.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGBlock.cpp View 1 2 chunks +3 lines, -8 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGInline.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGInline.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 2 chunks +5 lines, -8 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.cpp View 1 3 chunks +32 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
fs
This just in from Crazytown (Tokköping), Sweden. Pros: * Reduced design debt (and subsequently reduced ...
6 years, 1 month ago (2014-11-20 18:07:05 UTC) #2
pdr.
Gardening all day has sapped my brain so I apologize for the not fantastic review. ...
6 years, 1 month ago (2014-11-21 08:32:05 UTC) #3
fs
https://codereview.chromium.org/741123002/diff/1/Source/core/rendering/svg/RenderSVGRoot.cpp File Source/core/rendering/svg/RenderSVGRoot.cpp (right): https://codereview.chromium.org/741123002/diff/1/Source/core/rendering/svg/RenderSVGRoot.cpp#newcode338 Source/core/rendering/svg/RenderSVGRoot.cpp:338: rect.intersect(pixelSnappedBorderBoxRect()); On 2014/11/21 08:32:05, pdr wrote: > PaintInvalidationState's ctor ...
6 years, 1 month ago (2014-11-21 11:23:15 UTC) #4
fs
Semi-tabletennis
6 years ago (2014-11-24 16:25:40 UTC) #5
pdr.
LGTM. Sorry for the delay (see gardening reports for why!) Today is going smoothly and ...
6 years ago (2014-11-25 21:45:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741123002/20001
6 years ago (2014-11-25 21:46:11 UTC) #8
commit-bot: I haz the power
6 years ago (2014-11-25 21:54:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185977

Powered by Google App Engine
This is Rietveld 408576698