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

Issue 1584493002: Skip PaintPhaseDescendantOutlinesOnly if no descendent outlines in the layer (Closed)

Created:
4 years, 11 months ago by Xianzhu
Modified:
4 years, 11 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip PaintPhaseDescendantOutlinesOnly if no descendant outlines in the layer BUG=574938 TEST=PaintLayerPainterTest.PaintPhaseOutline TEST=fast/multicol/span/outline.html Committed: https://crrev.com/42c48698112091f8067d13d8e8d84a799b658e4b Cr-Commit-Position: refs/heads/master@{#371652}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Fix multicol span issue #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Update test expectation #

Patch Set 7 : Keep flag not cleared #

Patch Set 8 : #

Patch Set 9 : Update unit test #

Total comments: 2

Patch Set 10 : Actually change code about spanner #

Patch Set 11 : Rebase on https://codereview.chromium.org/1629563003/ #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/multicol/span/outline.html View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/span/outline-expected.html View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
Xianzhu
4 years, 11 months ago (2016-01-12 18:52:48 UTC) #2
chrishtr
https://codereview.chromium.org/1584493002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/1584493002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1389 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1389: PaintLayer* layer = enclosingLayer()->enclosingSelfPaintingLayer(); This is a tree walk ...
4 years, 11 months ago (2016-01-12 23:52:24 UTC) #3
Xianzhu
Also found that some painters (e.g. TablePainter) handles PaintPhaseSelfOutline and PaintPhaseChildOutlines incorrectly. They paint child ...
4 years, 11 months ago (2016-01-13 00:11:03 UTC) #4
chrishtr
https://codereview.chromium.org/1584493002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/1584493002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1389 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1389: PaintLayer* layer = enclosingLayer()->enclosingSelfPaintingLayer(); On 2016/01/13 at 00:11:03, Xianzhu ...
4 years, 11 months ago (2016-01-13 05:01:17 UTC) #5
chrishtr
Also, could you performance test this? It should be straightforward to use rasterize-and-record to demonstrate ...
4 years, 11 months ago (2016-01-13 05:04:01 UTC) #6
Xianzhu
On 2016/01/13 05:04:01, chrishtr wrote: > Also, could you performance test this? It should be ...
4 years, 11 months ago (2016-01-14 18:08:02 UTC) #7
Xianzhu
Depended CLs landed. This CL is ready. Ptal.
4 years, 11 months ago (2016-01-20 18:43:09 UTC) #8
Xianzhu
Just found a bug about outline in multi-column span (not covered by existing layout tests). ...
4 years, 11 months ago (2016-01-20 20:02:48 UTC) #9
Xianzhu
On 2016/01/20 20:02:48, Xianzhu wrote: > Just found a bug about outline in multi-column span ...
4 years, 11 months ago (2016-01-20 21:44:39 UTC) #10
Xianzhu
Ptal. The PaintPhaseFloat CL depends on this.
4 years, 11 months ago (2016-01-22 17:30:26 UTC) #15
chrishtr
+Morten for second review of the multi-column part.
4 years, 11 months ago (2016-01-22 18:21:35 UTC) #17
Xianzhu
On 2016/01/22 18:21:35, chrishtr wrote: > +Morten for second review of the multi-column part. Morten, ...
4 years, 11 months ago (2016-01-22 18:24:57 UTC) #18
mstensho (USE GERRIT)
Not too familiar with this code, so I'll just write something about spanners for now. ...
4 years, 11 months ago (2016-01-22 21:24:26 UTC) #19
Xianzhu
On 2016/01/22 21:24:26, mstensho wrote: > Not too familiar with this code, so I'll just ...
4 years, 11 months ago (2016-01-22 22:07:22 UTC) #20
Xianzhu
https://codereview.chromium.org/1584493002/diff/60001/third_party/WebKit/LayoutTests/fast/multicol/span/outline.html File third_party/WebKit/LayoutTests/fast/multicol/span/outline.html (right): https://codereview.chromium.org/1584493002/diff/60001/third_party/WebKit/LayoutTests/fast/multicol/span/outline.html#newcode2 third_party/WebKit/LayoutTests/fast/multicol/span/outline.html:2: <p>Test that an outlined element inside a spanner. Passes ...
4 years, 11 months ago (2016-01-22 22:07:34 UTC) #21
chrishtr
Please split out the fix for multicol that is not in the current tests. Otherwise ...
4 years, 11 months ago (2016-01-23 00:52:37 UTC) #22
Xianzhu
On 2016/01/23 00:52:37, chrishtr wrote: > Please split out the fix for multicol that is ...
4 years, 11 months ago (2016-01-23 01:17:58 UTC) #23
chrishtr
On 2016/01/23 at 01:17:58, wangxianzhu wrote: > On 2016/01/23 00:52:37, chrishtr wrote: > > Please ...
4 years, 11 months ago (2016-01-23 01:38:02 UTC) #24
Xianzhu
On 2016/01/23 01:17:58, Xianzhu wrote: > On 2016/01/23 00:52:37, chrishtr wrote: > > Please split ...
4 years, 11 months ago (2016-01-23 02:08:29 UTC) #25
chrishtr
lgtm
4 years, 11 months ago (2016-01-23 04:58:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1584493002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1584493002/260001
4 years, 11 months ago (2016-01-26 22:42:29 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:260001)
4 years, 11 months ago (2016-01-27 00:16:23 UTC) #31
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 00:17:08 UTC) #33
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/42c48698112091f8067d13d8e8d84a799b658e4b
Cr-Commit-Position: refs/heads/master@{#371652}

Powered by Google App Engine
This is Rietveld 408576698