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

Issue 2279823002: Use LayoutSVGResourceClipper::resourceBoundingBox() in ClipPathClipper (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use LayoutSVGResourceClipper::resourceBoundingBox() in ClipPathClipper Use the reference box to compute the clip-path bounds in ClipPathClipper, using the resourceBoundingBox() method from LayoutSVGResourceClipper. This should give reasonably tight-fitting bounds for the clip-as-mask code-path which uses these bounds. It also means one less item to pass around. This means that the clip-path code in PaintLayerPainter no longer needs the |rootRelativeBounds| and associated bool, so that code can be pushed down into FilterPainter with additional plumbing simplifications. Also straighten out the code-flow in ClipPathClipper for less indented, and hopefully easier to follow, code. BUG=633028, 626097 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/422862958695797596356c0bb1d6f0e964f9ee83 Cr-Commit-Position: refs/heads/master@{#416073}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Messages

Total messages: 28 (21 generated)
fs
Maybe I'll end up regretting this, but it did feel like a good idea at ...
4 years, 3 months ago (2016-08-25 18:11:27 UTC) #8
pdr.
On 2016/08/25 at 18:11:27, fs wrote: > Maybe I'll end up regretting this, but it ...
4 years, 3 months ago (2016-08-25 20:35:55 UTC) #11
fs
On 2016/08/25 at 20:35:55, pdr wrote: > On 2016/08/25 at 18:11:27, fs wrote: > > ...
4 years, 3 months ago (2016-08-25 22:34:11 UTC) #12
pdr.
On 2016/08/25 at 22:34:11, fs wrote: > On 2016/08/25 at 20:35:55, pdr wrote: > > ...
4 years, 3 months ago (2016-08-26 01:39:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2279823002/40001
4 years, 3 months ago (2016-09-01 21:49:20 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-01 21:54:44 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 21:57:37 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/422862958695797596356c0bb1d6f0e964f9ee83
Cr-Commit-Position: refs/heads/master@{#416073}

Powered by Google App Engine
This is Rietveld 408576698