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

Issue 2695593005: Avoid false-positives of paint offset change detection (Closed)

Created:
3 years, 10 months ago by Xianzhu
Modified:
3 years, 10 months ago
Reviewers:
pdr., chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid false-positives of paint offset change detection Because we save the paint offset after updatePaintOffsetTranslation, we also need to check paint offset change after updatePaintOffsetTranslation. Previously we had false-positives of paint offset change, causing unnecessary whole subtree paint property updates. Now make updatePaintOffsetTranslation() unconditional. BUG=685179 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 R=pdr@chromium.org Review-Url: https://codereview.chromium.org/2695593005 . Cr-Commit-Position: refs/heads/master@{#450883} Committed: https://chromium.googlesource.com/chromium/src/+/af710fcae8e5585e8628cd46d6f18786cc7ccb26

Patch Set 1 #

Patch Set 2 #

Total comments: 4

Patch Set 3 : Fix SPv2 under-invalidation #

Patch Set 4 : - #

Patch Set 5 : Combined with https://codereview.chromium.org/2694193004/ #

Patch Set 6 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -67 lines) Patch
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 2 3 5 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 8 chunks +58 lines, -63 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 52 (27 generated)
Xianzhu
3 years, 10 months ago (2017-02-14 04:51:32 UTC) #11
chrishtr
Cool! I think I observed the same thing when debugging a unittest just onw.
3 years, 10 months ago (2017-02-14 05:02:36 UTC) #13
pdr.
Overall looks great! https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode245 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:245: if (usesPaintOffsetTranslation) { Do we need ...
3 years, 10 months ago (2017-02-14 05:18:41 UTC) #14
Xianzhu
https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode245 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:245: if (usesPaintOffsetTranslation) { On 2017/02/14 05:18:41, pdr. wrote: > ...
3 years, 10 months ago (2017-02-14 19:23:35 UTC) #20
pdr.
On 2017/02/14 at 19:23:35, wangxianzhu wrote: > https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): > > https://codereview.chromium.org/2695593005/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode245 ...
3 years, 10 months ago (2017-02-14 19:31:52 UTC) #22
Xianzhu
On 2017/02/14 19:31:52, pdr. wrote: > On 2017/02/14 at 19:23:35, wangxianzhu wrote: > > > ...
3 years, 10 months ago (2017-02-14 19:37:03 UTC) #23
pdr.
On 2017/02/14 at 19:37:03, wangxianzhu wrote: > On 2017/02/14 19:31:52, pdr. wrote: > > On ...
3 years, 10 months ago (2017-02-14 19:44:05 UTC) #24
Xianzhu
On 2017/02/14 19:44:05, pdr. wrote: > On 2017/02/14 at 19:37:03, wangxianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-14 19:49:58 UTC) #25
pdr.
On 2017/02/14 at 19:49:58, wangxianzhu wrote: > On 2017/02/14 19:44:05, pdr. wrote: > > On ...
3 years, 10 months ago (2017-02-14 19:55:37 UTC) #26
Xianzhu
On 2017/02/14 19:55:37, pdr. wrote: > On 2017/02/14 at 19:49:58, wangxianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-14 20:46:45 UTC) #27
Xianzhu
The follow-up https://codereview.chromium.org/2694193004/ may also explain the issue.
3 years, 10 months ago (2017-02-14 20:55:47 UTC) #28
pdr.
On 2017/02/14 at 20:55:47, wangxianzhu wrote: > The follow-up https://codereview.chromium.org/2694193004/ may also explain the issue. ...
3 years, 10 months ago (2017-02-14 21:55:19 UTC) #31
Xianzhu
On 2017/02/14 21:55:19, pdr. wrote: > On 2017/02/14 at 20:55:47, wangxianzhu wrote: > > The ...
3 years, 10 months ago (2017-02-14 22:09:40 UTC) #32
Xianzhu
On 2017/02/14 22:09:40, Xianzhu wrote: > On 2017/02/14 21:55:19, pdr. wrote: > > On 2017/02/14 ...
3 years, 10 months ago (2017-02-14 22:23:57 UTC) #33
pdr.
On 2017/02/14 at 22:09:40, wangxianzhu wrote: > On 2017/02/14 21:55:19, pdr. wrote: > > On ...
3 years, 10 months ago (2017-02-15 17:40:26 UTC) #34
Xianzhu
On 2017/02/15 17:40:26, pdr. wrote: > On 2017/02/14 at 22:09:40, wangxianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-15 18:13:05 UTC) #35
Xianzhu
On 2017/02/15 18:13:05, Xianzhu wrote: > On 2017/02/15 17:40:26, pdr. wrote: > > On 2017/02/14 ...
3 years, 10 months ago (2017-02-15 21:46:42 UTC) #36
pdr.
On 2017/02/15 at 21:46:42, wangxianzhu wrote: > On 2017/02/15 18:13:05, Xianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-15 22:22:47 UTC) #37
Xianzhu
On 2017/02/15 22:22:47, pdr. wrote: > On 2017/02/15 at 21:46:42, wangxianzhu wrote: > > On ...
3 years, 10 months ago (2017-02-15 23:11:11 UTC) #38
Xianzhu
On 2017/02/15 23:11:11, Xianzhu wrote: > On 2017/02/15 22:22:47, pdr. wrote: > > On 2017/02/15 ...
3 years, 10 months ago (2017-02-16 01:37:02 UTC) #39
pdr.
On 2017/02/16 at 01:37:02, wangxianzhu wrote: > > I created a CL based on my ...
3 years, 10 months ago (2017-02-16 02:04:01 UTC) #43
pdr.
Thanks for putting together https://codereview.chromium.org/2698123002/. I'm convinced by your pro/con reasoning, particularly the part where ...
3 years, 10 months ago (2017-02-16 04:56:48 UTC) #44
Xianzhu
On 2017/02/16 04:56:48, pdr. wrote: > Thanks for putting together https://codereview.chromium.org/2698123002/. I'm > convinced by ...
3 years, 10 months ago (2017-02-16 05:05:24 UTC) #47
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/2695593005/90001
3 years, 10 months ago (2017-02-16 05:12:35 UTC) #50
Xianzhu
3 years, 10 months ago (2017-02-16 07:04:25 UTC) #52
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as
af710fcae8e5585e8628cd46d6f18786cc7ccb26 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698