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

Issue 2540043002: Fix descendant-dependent PaintLayer flags update to not early-out when dirty. (Closed)

Created:
4 years ago by chrishtr
Modified:
4 years ago
Reviewers:
pdr., Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix descendant-dependent PaintLayer flags update to not early-out when dirty. Previously, the iteration over children would early-out if any of them had visible content or visible child content. This is incorrect, because other children might still have dirty bits that need to be cleared. Fixing this allows us to remove the force-recompute hammer added in https://codereview.chromium.org/455963002 and adjusted in https://codereview.chromium.org/1149303002 to add a dirty bit to avoid walking the entire PaintLayer tree on every frame. BUG=646188 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/cce865745dd419cdbbdd9ba6c1e8e8669c91518b Cr-Commit-Position: refs/heads/master@{#435307}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -36 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h View 1 2 chunks +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 3 chunks +1 line, -22 lines 1 comment Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 3 chunks +1 line, -6 lines 1 comment Download

Messages

Total messages: 25 (20 generated)
chrishtr
Side note: Next up after this CL is moving all descendant-dependent PaintLayer flags into this ...
4 years ago (2016-11-30 15:26:38 UTC) #14
Xianzhu
lgtm
4 years ago (2016-11-30 17:13:56 UTC) #20
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/2540043002/40001
4 years ago (2016-11-30 17:14:30 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-30 17:22:07 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-30 17:25:22 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cce865745dd419cdbbdd9ba6c1e8e8669c91518b
Cr-Commit-Position: refs/heads/master@{#435307}

Powered by Google App Engine
This is Rietveld 408576698