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

Issue 2565943002: Add support for caching and invalidating SVG marker transforms (Closed)

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

Description

Add support for caching and invalidating SVG marker transforms This patch adds a cache of the SVG marker transform, similar to the pattern used in LayoutSVGViewportContainer. This should be a small perf win because we no longer re-calculate the transform when painting each marker instance. With this new cache logic, invalidation logic has been added which includes a fix for paint property under-invalidation (marker-viewBox-changes.svg). BUG=645667, 600618 Committed: https://crrev.com/d798a7a82ead340d6206380d64e310c222416e62 Cr-Commit-Position: refs/heads/master@{#437993}

Patch Set 1 #

Patch Set 2 : minor cleanup #

Patch Set 3 : Miniscule update #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -46 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h View 1 2 2 chunks +13 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp View 5 chunks +19 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp View 1 1 chunk +17 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
pdr.
4 years ago (2016-12-10 06:35:42 UTC) #7
fs
lgtm https://codereview.chromium.org/2565943002/diff/40001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp (left): https://codereview.chromium.org/2565943002/diff/40001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp#oldcode144 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp:144: void LayoutSVGResourceMarker::calcViewport() { (Maybe we should consider performing ...
4 years ago (2016-12-10 09:33:12 UTC) #8
pdr.
On 2016/12/10 at 09:33:12, fs wrote: > lgtm > > https://codereview.chromium.org/2565943002/diff/40001/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp > File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp (left): ...
4 years ago (2016-12-12 18:33:36 UTC) #9
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/2565943002/60001
4 years ago (2016-12-12 18:39:20 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/277996)
4 years ago (2016-12-12 23:54:39 UTC) #16
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/2565943002/60001
4 years ago (2016-12-13 00:45:30 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-13 02:36:27 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-13 02:39:59 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d798a7a82ead340d6206380d64e310c222416e62
Cr-Commit-Position: refs/heads/master@{#437993}

Powered by Google App Engine
This is Rietveld 408576698