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

Issue 653303003: Generalize paint chunks to clips, and implement clips in LayerPainter. (Closed)

Created:
6 years, 2 months ago by chrishtr
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, slimming-paint-reviews_chromium.org, zoltan1
Project:
blink
Visibility:
Public.

Description

Generalize paint chunks to clips, and implement clips in LayerPainter. BUG=423071 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183848

Patch Set 1 #

Patch Set 2 : Fixed #

Total comments: 2

Patch Set 3 : Fixed. #

Patch Set 4 : Fixed #

Patch Set 5 : Fixed. #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : Simplified #

Patch Set 8 : Renamed #

Patch Set 9 : Fixed #

Patch Set 10 : Fixed. #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : Fixed multicol. #

Patch Set 13 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -135 lines) Patch
M Source/core/paint/LayerPainter.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/paint/LayerPainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 16 chunks +151 lines, -116 lines 0 comments Download
M Source/core/paint/ViewDisplayList.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +63 lines, -8 lines 0 comments Download
M Source/core/paint/ViewDisplayList.cpp View 1 2 3 4 5 5 chunks +59 lines, -6 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
chrishtr
6 years, 2 months ago (2014-10-15 18:21:50 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/653303003/diff/20001/Source/core/paint/LayerPainter.cpp File Source/core/paint/LayerPainter.cpp (right): https://codereview.chromium.org/653303003/diff/20001/Source/core/paint/LayerPainter.cpp#newcode402 Source/core/paint/LayerPainter.cpp:402: if (paintClipRecorder) { Putting this if everywhere that calls ...
6 years, 2 months ago (2014-10-15 18:51:39 UTC) #3
chrishtr
Now with cleaner code.
6 years, 2 months ago (2014-10-16 04:18:19 UTC) #4
Stephen Chennney
DsiplayList includes a clip to apply when drawing the display list. Should we remove that ...
6 years, 2 months ago (2014-10-16 14:23:22 UTC) #6
chrishtr
On 2014/10/16 at 14:23:22, schenney wrote: > DsiplayList includes a clip to apply when drawing ...
6 years, 2 months ago (2014-10-16 16:27:08 UTC) #7
pdr.
I think this looks good. https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/LayerPainter.cpp File Source/core/paint/LayerPainter.cpp (right): https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/LayerPainter.cpp#newcode390 Source/core/paint/LayerPainter.cpp:390: StartClipRecorder startClipRecorder(&m_renderLayer, context, clipType, ...
6 years, 2 months ago (2014-10-16 17:38:12 UTC) #8
chrishtr
https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/ViewDisplayList.h File Source/core/paint/ViewDisplayList.h (right): https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/ViewDisplayList.h#newcode27 Source/core/paint/ViewDisplayList.h:27: virtual ~DisplayItem() { } On 2014/10/16 17:38:12, pdr wrote: ...
6 years, 2 months ago (2014-10-16 17:43:53 UTC) #9
Stephen Chennney
On 2014/10/16 17:38:12, pdr wrote: > I think this looks good. > > https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/LayerPainter.cpp > ...
6 years, 2 months ago (2014-10-16 17:56:53 UTC) #10
Stephen Chennney
.. you'd run into problemms if the object were static ...
6 years, 2 months ago (2014-10-16 17:57:27 UTC) #11
pdr.
On 2014/10/16 at 17:56:53, schenney wrote: > On 2014/10/16 17:38:12, pdr wrote: > > I ...
6 years, 2 months ago (2014-10-16 17:57:31 UTC) #12
Stephen Chennney
.. you'd run into problems if the object were static ...
6 years, 2 months ago (2014-10-16 17:57:35 UTC) #13
leviw_travelin_and_unemployed
https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/ViewDisplayList.h File Source/core/paint/ViewDisplayList.h (right): https://codereview.chromium.org/653303003/diff/80001/Source/core/paint/ViewDisplayList.h#newcode71 Source/core/paint/ViewDisplayList.h:71: typedef Vector<OwnPtr<DisplayItem> > PaintList; I believe we support the ...
6 years, 2 months ago (2014-10-16 17:59:11 UTC) #14
Stephen Chennney
On 2014/10/16 17:57:31, pdr wrote: > On 2014/10/16 at 17:56:53, schenney wrote: > > On ...
6 years, 2 months ago (2014-10-16 17:59:33 UTC) #15
pdr.
LGTM
6 years, 2 months ago (2014-10-16 19:29:09 UTC) #16
chrishtr
Simplified yet more, please take another look.
6 years, 2 months ago (2014-10-16 19:49:34 UTC) #17
pdr.
https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp File Source/core/paint/LayerPainter.cpp (right): https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp#newcode746 Source/core/paint/LayerPainter.cpp:746: ClipDisplayItem::ClipType clipType = (ClipDisplayItem::ClipType)0; Can you create an unknown ...
6 years, 2 months ago (2014-10-16 19:53:05 UTC) #18
pdr.
On 2014/10/16 at 19:53:05, pdr wrote: > https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp > File Source/core/paint/LayerPainter.cpp (right): > > https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp#newcode746 ...
6 years, 2 months ago (2014-10-16 19:55:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653303003/220001
6 years, 2 months ago (2014-10-16 20:49:59 UTC) #21
chrishtr
https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp File Source/core/paint/LayerPainter.cpp (right): https://codereview.chromium.org/653303003/diff/180001/Source/core/paint/LayerPainter.cpp#newcode746 Source/core/paint/LayerPainter.cpp:746: ClipDisplayItem::ClipType clipType = (ClipDisplayItem::ClipType)0; On 2014/10/16 19:53:05, pdr wrote: ...
6 years, 2 months ago (2014-10-16 21:44:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653303003/240001
6 years, 2 months ago (2014-10-16 22:15:06 UTC) #24
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/32171)
6 years, 2 months ago (2014-10-17 00:30:38 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653303003/240001
6 years, 2 months ago (2014-10-17 00:45:17 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 01:48:40 UTC) #29
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as 183848

Powered by Google App Engine
This is Rietveld 408576698