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

Issue 412083003: Disable paint invalidatin optimization about SVG transform change (Closed)

Created:
6 years, 5 months ago by Xianzhu
Modified:
6 years, 4 months ago
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., rwlbuis, rune+blink, Stephen Chennney, zoltan1
Project:
blink
Visibility:
Public.

Description

Disable paint invalidatin optimization about SVG transform change The optimization prunes SVG subtree paint invalidation walking if the container's transform changed. However, the transform changed flag is only updated during layout causing: - If multiple layouts before an invalidation, later layouts may clear the flag set by previous layout; - For paint-only invalidation (after we use unified invalidation) the flag may remain uncleared if there is no layout causing incorrect pruning of tree walking. SvgCubics doesn't show visible performance change with this patch. BUG=394619 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179076

Patch Set 1 #

Total comments: 2

Patch Set 2 : For landing #

Patch Set 3 : More rebaselines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -17 lines) Patch
M LayoutTests/TestExpectations View 1 2 2 chunks +20 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 1 chunk +1 line, -8 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Xianzhu
6 years, 5 months ago (2014-07-24 01:11:18 UTC) #1
fs
If this doesn't (noticeably) degrade performance, then I'm all for it.
6 years, 5 months ago (2014-07-24 08:48:42 UTC) #2
dsinclair
lgtm
6 years, 5 months ago (2014-07-24 17:20:58 UTC) #3
Julien - ping for review
lgtm fs, the idea is to see if this kills our performance. We think that ...
6 years, 4 months ago (2014-07-28 18:04:07 UTC) #4
Julien - ping for review
https://codereview.chromium.org/412083003/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (left): https://codereview.chromium.org/412083003/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp#oldcode158 Source/core/rendering/svg/RenderSVGModelObject.cpp:158: return; Actually, we should re-enable the ASSERT in RenderObject ...
6 years, 4 months ago (2014-07-28 18:05:28 UTC) #5
Xianzhu
https://codereview.chromium.org/412083003/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp File Source/core/rendering/svg/RenderSVGModelObject.cpp (left): https://codereview.chromium.org/412083003/diff/1/Source/core/rendering/svg/RenderSVGModelObject.cpp#oldcode158 Source/core/rendering/svg/RenderSVGModelObject.cpp:158: return; On 2014/07/28 18:05:27, Julien Chaffraix - PST wrote: ...
6 years, 4 months ago (2014-07-28 20:09:38 UTC) #6
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-07-28 20:09:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/412083003/20001
6 years, 4 months ago (2014-07-28 20:10:00 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_rel on tryserver.blink ...
6 years, 4 months ago (2014-07-28 21:21:37 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-28 21:46:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/17955)
6 years, 4 months ago (2014-07-28 21:46:48 UTC) #11
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-07-28 22:20:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/412083003/40001
6 years, 4 months ago (2014-07-28 22:20:35 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 00:38:15 UTC) #14
Message was sent while issue was closed.
Change committed as 179076

Powered by Google App Engine
This is Rietveld 408576698