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

Issue 2556013002: Fix paint property under-invalidation checking about reference filters (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
pdr., trchen
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix paint property under-invalidation checking about reference filters Previously we checked equality of reference filters by comparing the pointers to SkImageFilters. This cause false-positive when we forced property update for under-invalidation checking. Now ignore reference filters when comparing effect nodes, and check for changes of filter operations defined in style to remedy the ignored check. An alternative way is to add value equality operators in SkImageFilter subclasses, but that seems to need more code and time than this CL. We might make that a long-term objective. BUG=671097 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/b3e11fe44bc15048029e2093a428234f0da084d3 Cr-Commit-Position: refs/heads/master@{#437470}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : - #

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : Fix paint property under-invalidation checking about reference filters #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -42 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 2 chunks +9 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
Xianzhu
4 years ago (2016-12-07 17:03:47 UTC) #15
pdr.
Nice find. https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode434 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:434: properties.setStyleFilterOperations(styleFilterOperations); How much additional value will these ...
4 years ago (2016-12-08 02:00:41 UTC) #18
Xianzhu
https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode434 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:434: properties.setStyleFilterOperations(styleFilterOperations); On 2016/12/08 02:00:41, pdr. wrote: > How much ...
4 years ago (2016-12-08 17:34:35 UTC) #19
pdr.
On 2016/12/08 at 17:34:35, wangxianzhu wrote: > https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): > > https://codereview.chromium.org/2556013002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode434 ...
4 years ago (2016-12-08 21:14:12 UTC) #22
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/2556013002/80001
4 years ago (2016-12-08 21:33:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/352783)
4 years ago (2016-12-09 00:14:16 UTC) #27
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/2556013002/80001
4 years ago (2016-12-09 01:23:45 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-09 04:47:57 UTC) #31
commit-bot: I haz the power
4 years ago (2016-12-09 04:52:04 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b3e11fe44bc15048029e2093a428234f0da084d3
Cr-Commit-Position: refs/heads/master@{#437470}

Powered by Google App Engine
This is Rietveld 408576698