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

Issue 702633002: Move ViewDisplayList to GraphicsLayer (Closed)

Created:
6 years, 1 month ago by trchen
Modified:
6 years, 1 month ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, Rik, danakj, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, zoltan1
Project:
blink
Visibility:
Public.

Description

Move ViewDisplayList to GraphicsLayer This CL moves ViewDisplayList to GraphicsLayer and renames it to DisplayItemList. DisplayItemList and the DisplayItems are also moved to platform/graphics to resolve layering violation. The recorders stay in core/paint. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185263

Patch Set 1 #

Patch Set 2 : tests resurrected. changed DisplayItemClient to void*. #

Patch Set 3 : fix clang warnings & debug build. #

Patch Set 4 : PLATFORM_EXPORT #

Patch Set 5 : attempt to fix error C2248 #

Patch Set 6 : workaround RTL layout tests #

Patch Set 7 : rebase & mask failing layout test #

Patch Set 8 : copy & pasted test expectation from the wrong window. sorry. :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+675 lines, -565 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/paint/ClipRecorder.h View 2 chunks +4 lines, -31 lines 0 comments Download
M Source/core/paint/ClipRecorder.cpp View 1 3 chunks +11 lines, -26 lines 0 comments Download
M Source/core/paint/ClipRecorderTest.cpp View 1 4 chunks +6 lines, -2 lines 0 comments Download
M Source/core/paint/DrawingRecorder.h View 1 chunk +4 lines, -20 lines 0 comments Download
M Source/core/paint/DrawingRecorder.cpp View 1 2 chunks +16 lines, -17 lines 0 comments Download
M Source/core/paint/DrawingRecorderTest.cpp View 1 5 chunks +8 lines, -3 lines 0 comments Download
D Source/core/paint/ViewDisplayList.h View 1 1 chunk +0 lines, -110 lines 0 comments Download
D Source/core/paint/ViewDisplayList.cpp View 1 1 chunk +0 lines, -187 lines 0 comments Download
M Source/core/paint/ViewDisplayListTest.cpp View 1 14 chunks +93 lines, -90 lines 0 comments Download
A Source/core/rendering/PaintPhase.cpp View 1 chunk +17 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderView.h View 1 3 chunks +0 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderingTestHelper.h View 1 2 chunks +14 lines, -11 lines 0 comments Download
A Source/core/rendering/RenderingTestHelper.cpp View 1 1 chunk +46 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 1 chunk +0 lines, -13 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 3 chunks +25 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/ClipDisplayItem.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/ClipDisplayItem.cpp View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A + Source/platform/graphics/paint/DisplayItem.h View 1 2 3 2 chunks +24 lines, -41 lines 0 comments Download
A Source/platform/graphics/paint/DisplayItem.cpp View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/DisplayItemList.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/DisplayItemList.cpp View 1 1 chunk +136 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/DrawingDisplayItem.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/DrawingDisplayItem.cpp View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
trchen
Hello reviewers, This CL moves the ViewDisplayList to GraphicsLayer per discussion at https://codereview.chromium.org/698743002/#msg4 . PTAL! ...
6 years, 1 month ago (2014-11-04 03:59:26 UTC) #2
leviw_travelin_and_unemployed
6 years, 1 month ago (2014-11-04 04:05:36 UTC) #4
chrishtr
Apologies for the delay. We were all at BlinkOn. I'll get to this tomorrow.
6 years, 1 month ago (2014-11-06 02:38:59 UTC) #5
trchen
No worries! I knew everyone would be extremely busy on BlinkOn. :)
6 years, 1 month ago (2014-11-06 03:22:01 UTC) #6
pdr.
This looks great. GraphicsLayer does seem like the appropriate owner for the display list. We ...
6 years, 1 month ago (2014-11-06 22:08:23 UTC) #7
Stephen Chennney
On 2014/11/06 22:08:23, pdr wrote: > This looks great. GraphicsLayer does seem like the appropriate ...
6 years, 1 month ago (2014-11-06 22:10:17 UTC) #8
trchen
Hello reviewers, This CL changes DisplayItemClient to void* as advised, and also make all unit ...
6 years, 1 month ago (2014-11-12 02:12:19 UTC) #9
chrishtr
lgtm
6 years, 1 month ago (2014-11-12 17:30:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/702633002/120001
6 years, 1 month ago (2014-11-12 23:42:04 UTC) #13
trchen
Still need owner review for Source/platform By the way I just realized by using the ...
6 years, 1 month ago (2014-11-12 23:49:31 UTC) #15
trchen
On 2014/11/12 23:49:31, trchen wrote: > Still need owner review for Source/platform Oops. Forget it. ...
6 years, 1 month ago (2014-11-12 23:50:24 UTC) #16
pdr.
On 2014/11/12 at 23:50:24, trchen wrote: > On 2014/11/12 23:49:31, trchen wrote: > > Still ...
6 years, 1 month ago (2014-11-13 00:00:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/702633002/120001
6 years, 1 month ago (2014-11-13 00:01:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/702633002/140001
6 years, 1 month ago (2014-11-13 01:48:45 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 185263
6 years, 1 month ago (2014-11-13 03:33:53 UTC) #22
Peter Beverloo
6 years, 1 month ago (2014-11-13 16:44:33 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/724003003/ by peter@chromium.org.

The reason for reverting is: This causes
MultiColumnRenderingTest.SubtreeWithSpannerBeforeSpanner to time out on Android.

BUG=432926.

Powered by Google App Engine
This is Rietveld 408576698