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

Issue 309093002: Issue repaints before and after changing the squashing assignment of a RenderLayer. (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
Reviewers:
Ian Vollick, ojan
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, blink-layers+watch_chromium.org, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Issue repaints before and after changing the squashing assignment of a RenderLayer. Also, do not include squashed layers when computing repaint rects including descendants. Squashed layers paint separately with a different origin. BUG=370664 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175417

Patch Set 1 #

Patch Set 2 : Remove debugging code. #

Patch Set 3 : Iterate. #

Patch Set 4 : Fix logic. #

Total comments: 5

Patch Set 5 : Fixed. #

Patch Set 6 : Fix comments. #

Total comments: 13

Patch Set 7 : Merged. #

Patch Set 8 : Merged. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -8 lines) Patch
M LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt View 1 2 6 chunks +6 lines, -1 line 0 comments Download
M LayoutTests/compositing/squashing/squash-above-fixed-1-expected.txt View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositingLayerAssigner.cpp View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
chrishtr
The compositing disabler in this CL is for the scenario Elliott brought up at the ...
6 years, 6 months ago (2014-06-02 20:16:24 UTC) #1
chrishtr
ping
6 years, 6 months ago (2014-06-03 16:01:33 UTC) #2
Ian Vollick
https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp File Source/core/rendering/RenderLayerRepainter.cpp (right): https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp#newcode159 Source/core/rendering/RenderLayerRepainter.cpp:159: DisableCompositingQueryAsserts disabler; This seems reasonable to me, but I ...
6 years, 6 months ago (2014-06-03 17:05:15 UTC) #3
chrishtr
https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp File Source/core/rendering/RenderLayerRepainter.cpp (right): https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp#newcode159 Source/core/rendering/RenderLayerRepainter.cpp:159: DisableCompositingQueryAsserts disabler; On 2014/06/03 17:05:16, Ian Vollick wrote: > ...
6 years, 6 months ago (2014-06-03 17:14:51 UTC) #4
Ian Vollick
On 2014/06/03 17:14:51, chrishtr wrote: > https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp > File Source/core/rendering/RenderLayerRepainter.cpp (right): > > https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp#newcode159 > ...
6 years, 6 months ago (2014-06-03 17:59:26 UTC) #5
chrishtr
By "include", do you mean issue repaints for HasOwnBackingButPaintsIntoAncestor? I agree that it sounds correct ...
6 years, 6 months ago (2014-06-03 18:01:50 UTC) #6
Ian Vollick
On 2014/06/03 18:01:50, chrishtr wrote: > By "include", do you mean issue repaints for HasOwnBackingButPaintsIntoAncestor? ...
6 years, 6 months ago (2014-06-03 18:09:34 UTC) #7
chrishtr
https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp File Source/core/rendering/RenderLayerRepainter.cpp (right): https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp#newcode162 Source/core/rendering/RenderLayerRepainter.cpp:162: if (curr->compositingState() != PaintsIntoOwnBacking && curr->compositingState() != PaintsIntoGroupedBacking) On ...
6 years, 6 months ago (2014-06-03 18:14:32 UTC) #8
Ian Vollick
Now that I've wrapped my head around the minor behavior change, this lgtm, but I'm ...
6 years, 6 months ago (2014-06-03 18:24:00 UTC) #9
ojan
lgtm I'm a bit concerned about the boundsRectForRepaint thing, but that's not really new in ...
6 years, 6 months ago (2014-06-03 18:41:11 UTC) #10
chrishtr
https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp File Source/core/rendering/RenderLayerRepainter.cpp (left): https://codereview.chromium.org/309093002/diff/90001/Source/core/rendering/RenderLayerRepainter.cpp#oldcode155 Source/core/rendering/RenderLayerRepainter.cpp:155: m_renderer.repaintUsingContainer(repaintContainer, pixelSnappedIntRect(m_renderer.computeRepaintRect()), InvalidationLayer); On 2014/06/03 18:41:11, ojan wrote: > ...
6 years, 6 months ago (2014-06-03 20:47:08 UTC) #11
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-03 22:24:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/309093002/120001
6 years, 6 months ago (2014-06-03 22:25:04 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-04 00:25:04 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 01:09:08 UTC) #15
Message was sent while issue was closed.
Change committed as 175417

Powered by Google App Engine
This is Rietveld 408576698