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

Issue 2668823002: Invalidate subsequence caching & empty paint phases if clips changed. (Closed)

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

Description

Invalidate subsequence caching & empty paint phases if clips changed relative to the containing transformed, root or paint invalidation container. Subsequence caching & empty paint phase optimizations need to be invalidated if any ancestor clips updated, since those clips are used to: a. Adjust painted output (SPInvalidation only, not SPv2), and b. Cull out invisible content (SPInvalidation and SPv2) Previously, we detected that by computing clip rects during paint. This CL moves it to the pre-paint tree walk. BUG=683733 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 patch from issue 2654643002 at patchset 120001 (http://crrev.com/2654643002#ps120001) Review-Url: https://codereview.chromium.org/2668823002 Cr-Commit-Position: refs/heads/master@{#448147} Committed: https://chromium.googlesource.com/chromium/src/+/4fa3275a1ee7439fb7057ac2d9986c15c9a2e396

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 5

Patch Set 8 : none #

Patch Set 9 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -5 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 3 4 5 6 7 8 5 chunks +130 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp View 1 2 3 4 2 chunks +107 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (28 generated)
chrishtr
https://codereview.chromium.org/2668823002/diff/120001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2668823002/diff/120001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode114 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:114: LayoutRect localRect(LayoutRect::infiniteIntRect()); I do have a plan to fix ...
3 years, 10 months ago (2017-02-01 05:03:36 UTC) #19
Xianzhu
lgtm https://codereview.chromium.org/2668823002/diff/120001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2668823002/diff/120001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode59 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:59: // boundaries. Nit: one line. https://codereview.chromium.org/2668823002/diff/120001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode126 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:126: if ...
3 years, 10 months ago (2017-02-02 17:36:11 UTC) #23
chrishtr
I also had to inline the leastCommonAncestor method into GeometryMapper.h, because in some more obscure ...
3 years, 10 months ago (2017-02-03 00:42:46 UTC) #25
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/2668823002/140001
3 years, 10 months ago (2017-02-03 00:43:11 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/111849)
3 years, 10 months ago (2017-02-03 01:38:51 UTC) #29
chrishtr
Gave up on the templates and inlined a simple ancestor function.
3 years, 10 months ago (2017-02-04 00:30:42 UTC) #30
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/2668823002/160001
3 years, 10 months ago (2017-02-04 00:31:28 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-04 02:16:14 UTC) #36
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/4fa3275a1ee7439fb7057ac2d998...

Powered by Google App Engine
This is Rietveld 408576698