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

Issue 433603004: Disentangle repaint-after-compositing from updateLayerPositionsAfterLayout (Closed)

Created:
6 years, 4 months ago by abarth-chromium
Modified:
6 years, 4 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, krit, dsinclair, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), fs, gyuyoung.kim_webkit.org, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr., rwlbuis, rune+blink, Stephen Chennney, zoltan1
Project:
blink
Visibility:
Public.

Description

Disentangle repaint-after-compositing from updateLayerPositionsAfterLayout Rather than using updateLayerPositions to propagate mayNeedPaintInvalidation down the tree, this CL adds the notion of forcing a check for paint invalidation during the invalidate tree walk. Now, if a RenderBox or a relatively positioned RenderInline moves, we'll check all its in-flow descendants for whether they need their paint invalidated. R=jchaffraix@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179514

Patch Set 1 #

Patch Set 2 : Remove enum #

Patch Set 3 : Stop at invalidation containers #

Total comments: 9

Patch Set 4 : Uncomment lines in rebaseline script #

Patch Set 5 : Tighten down invalidations #

Total comments: 1

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -43 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/abspos-shift-image-incorrect-repaint-expected.txt View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/bugzilla-6388-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/repaint/clipped-relative-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/crbug-371640-2-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/crbug-371640-3-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/crbug-371640-4-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/fast/repaint/crbug-371640-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/outline-child-repaint-expected.txt View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/positioned-list-offset-change-repaint-expected.txt View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/replaced-clipped-positioned-not-wrong-incremental-repainting-expected.txt View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/table-cell-move-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/table-section-overflow-expected.txt View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/table-section-repaint-expected.txt View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M LayoutTests/platform/mac/fast/repaint/float-overflow-expected.txt View 1 2 2 chunks +64 lines, -0 lines 0 comments Download
M LayoutTests/platform/mac/fast/repaint/float-overflow-right-expected.txt View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M Source/core/rendering/PaintInvalidationState.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/rendering/PaintInvalidationState.cpp View 1 2 3 4 4 chunks +16 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 4 chunks +11 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 chunks +10 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGBlock.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 42 (0 generated)
abarth-chromium
6 years, 4 months ago (2014-07-31 18:09:39 UTC) #1
leviw_travelin_and_unemployed
Are we able to reset the bit in PaintInvalidationState when we cross a composited boundary?
6 years, 4 months ago (2014-07-31 18:19:18 UTC) #2
abarth-chromium
On 2014/07/31 at 18:19:18, leviw wrote: > Are we able to reset the bit in ...
6 years, 4 months ago (2014-07-31 20:32:29 UTC) #3
abarth-chromium
Ok, this should be ready for review. I did as leviw suggested and cut off ...
6 years, 4 months ago (2014-08-01 18:57:24 UTC) #4
Julien - ping for review
https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/PaintInvalidationState.cpp File Source/core/rendering/PaintInvalidationState.cpp (right): https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/PaintInvalidationState.cpp#newcode64 Source/core/rendering/PaintInvalidationState.cpp:64: m_forceCheckForPaintInvalidation = false; Let's add a comment about why ...
6 years, 4 months ago (2014-08-01 21:20:02 UTC) #5
abarth-chromium
https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/PaintInvalidationState.cpp File Source/core/rendering/PaintInvalidationState.cpp (right): https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/PaintInvalidationState.cpp#newcode64 Source/core/rendering/PaintInvalidationState.cpp:64: m_forceCheckForPaintInvalidation = false; Ok. https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/433603004/diff/40001/Source/core/rendering/RenderBox.cpp#newcode1573 ...
6 years, 4 months ago (2014-08-01 21:22:52 UTC) #6
abarth-chromium
Done, PTAL
6 years, 4 months ago (2014-08-01 22:22:06 UTC) #7
Julien - ping for review
https://codereview.chromium.org/433603004/diff/80001/LayoutTests/platform/mac/fast/repaint/float-overflow-expected.txt File LayoutTests/platform/mac/fast/repaint/float-overflow-expected.txt (right): https://codereview.chromium.org/433603004/diff/80001/LayoutTests/platform/mac/fast/repaint/float-overflow-expected.txt#newcode26 LayoutTests/platform/mac/fast/repaint/float-overflow-expected.txt:26: [63, 15, 42, 18], This is my biggest concern ...
6 years, 4 months ago (2014-08-01 23:50:05 UTC) #8
abarth-chromium
On 2014/08/01 at 23:50:05, jchaffraix wrote: > If the patch was solving a correctness bug, ...
6 years, 4 months ago (2014-08-02 01:14:36 UTC) #9
Julien - ping for review
On 2014/08/02 at 01:14:36, abarth wrote: > On 2014/08/01 at 23:50:05, jchaffraix wrote: > > ...
6 years, 4 months ago (2014-08-04 15:56:55 UTC) #10
abarth-chromium
On 2014/08/04 at 15:56:55, jchaffraix wrote: > I am not doubting the usefulness of the ...
6 years, 4 months ago (2014-08-04 16:18:43 UTC) #11
Julien - ping for review
On 2014/08/04 at 16:18:43, abarth wrote: > On 2014/08/04 at 15:56:55, jchaffraix wrote: > > ...
6 years, 4 months ago (2014-08-04 16:37:15 UTC) #12
Julien - ping for review
On 2014/08/04 at 16:37:15, Julien Chaffraix - PST wrote: > On 2014/08/04 at 16:18:43, abarth ...
6 years, 4 months ago (2014-08-04 18:23:49 UTC) #13
abarth-chromium
Thanks Julien!
6 years, 4 months ago (2014-08-04 19:06:48 UTC) #14
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-04 19:07:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-04 19:08:23 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-04 20:19:18 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-04 21:01:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20615)
6 years, 4 months ago (2014-08-04 21:01:07 UTC) #19
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-04 21:38:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-04 21:39:17 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-04 22:36:53 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-04 23:19:57 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20658)
6 years, 4 months ago (2014-08-04 23:19:59 UTC) #24
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-04 23:45:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-04 23:47:26 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-05 00:30:01 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 01:11:38 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20691)
6 years, 4 months ago (2014-08-05 01:11:40 UTC) #29
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-05 01:21:34 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-05 01:22:07 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-05 02:25:30 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 02:33:29 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20720)
6 years, 4 months ago (2014-08-05 02:33:30 UTC) #34
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-05 06:29:24 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-05 06:30:13 UTC) #36
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-05 06:39:32 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 07:23:42 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/20775)
6 years, 4 months ago (2014-08-05 07:23:43 UTC) #39
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-05 16:10:45 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/433603004/100001
6 years, 4 months ago (2014-08-05 16:12:18 UTC) #41
abarth-chromium
6 years, 4 months ago (2014-08-05 18:13:31 UTC) #42
Message was sent while issue was closed.
Committed patchset #6 manually as 179514 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698