Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(63)

Issue 1157653005: Move use of DisplayItemList's vector behind an explicit DisplayItems interface. (Closed)

Created:
4 years, 10 months ago by jbroman
Modified:
4 years, 10 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, Rik, danakj, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, Xianzhu
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Move use of DisplayItemList's vector behind an explicit DisplayItems interface. This is a step toward having an interface which can be implemented instead by cc via WebDisplayItemList. In particular, the goal is to remove the reliance on concrete blink::DisplayItem objects being stored. BUG=484943 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196732

Patch Set 1 : #

Patch Set 2 : unit test fixes #

Patch Set 3 : DisplayItems must be noncopyable (Windows build fix) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+430 lines, -147 lines) Patch
M Source/core/paint/DisplayItemListPaintTest.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/paint/LayerClipRecorderTest.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/paint/LayoutObjectDrawingRecorderTest.cpp View 1 6 chunks +25 lines, -12 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/graphics/ContentLayerDelegate.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M Source/platform/graphics/paint/ClipDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/ClipPathDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/CompositingDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 3 chunks +38 lines, -6 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.h View 4 chunks +8 lines, -7 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.cpp View 10 chunks +91 lines, -76 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemListTest.cpp View 1 9 chunks +31 lines, -21 lines 0 comments Download
A Source/platform/graphics/paint/DisplayItems.h View 1 2 1 chunk +164 lines, -0 lines 2 comments Download
A Source/platform/graphics/paint/DisplayItems.cpp View 1 chunk +50 lines, -0 lines 0 comments Download
M Source/platform/graphics/paint/DrawingDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/FilterDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/FixedPositionContainerDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/FixedPositionDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/FloatClipDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/ScrollDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/SubtreeDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/Transform3DDisplayItem.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/paint/TransformDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
jbroman
This doesn't seem to have a perf impact, and if all goes well, will be ...
4 years, 10 months ago (2015-06-08 19:26:32 UTC) #4
chrishtr
lgtm https://codereview.chromium.org/1157653005/diff/80001/Source/platform/graphics/paint/DisplayItems.h File Source/platform/graphics/paint/DisplayItems.h (right): https://codereview.chromium.org/1157653005/diff/80001/Source/platform/graphics/paint/DisplayItems.h#newcode38 Source/platform/graphics/paint/DisplayItems.h:38: // TODO(jbroman): Clarify the purpose of this. I ...
4 years, 10 months ago (2015-06-08 23:03:05 UTC) #5
jbroman
https://codereview.chromium.org/1157653005/diff/80001/Source/platform/graphics/paint/DisplayItems.h File Source/platform/graphics/paint/DisplayItems.h (right): https://codereview.chromium.org/1157653005/diff/80001/Source/platform/graphics/paint/DisplayItems.h#newcode38 Source/platform/graphics/paint/DisplayItems.h:38: // TODO(jbroman): Clarify the purpose of this. On 2015/06/08 ...
4 years, 10 months ago (2015-06-09 00:00:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157653005/80001
4 years, 10 months ago (2015-06-09 00:00:21 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2015-06-09 03:04:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196732

Powered by Google App Engine
This is Rietveld 408576698