|
Revert of cc: Shrink size of display item (patchset #9 id:160001 of https://codereview.chromium.org/1494223003/ )
Reason for revert:
Causes regression in smoothness benchmark.
I think issue 513016 probably needs to be fixed before
turning on display list rasterization, for this reason.
BUG= 569021, 513016
Original issue's description:
> cc: Shrink size of display item
>
> This removes all of the base class members from display item and instead
> calculates them during allocation. This is done by processing each item
> as it is added, which requires passing in all the ctor args to
> CreateAndAppendItem. This reduces the size of all display items by 16
> bytes so that the largest is now "only" 80 bytes and the smallest is 8.
>
> Also, DisplayItemList had a bug where it would allocate an item,
> (maybe) process all added items, and then SetNew on that last item. In
> that case, the processing would skip the final item because it was just
> a newly allocated item. This patch fixes that by the above changes
> to CreateAndAppendItem.
>
> R=vmpstr@chromium.org,chrishtr@chromium.org
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/3b006fb5a67c9e9bc0adf3f68d72a10afa221198
> Cr-Commit-Position: refs/heads/master@{#364437}
TBR=chrishtr@chromium.org,danakj@chromium.org,vmpstr@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+582 lines, -525 lines) |
Patch |
 |
M |
cc/blink/web_display_item_list_impl.cc
|
View
|
|
7 chunks |
+49 lines, -32 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_display_item.h
|
View
|
|
2 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_display_item.cc
|
View
|
|
5 chunks |
+35 lines, -36 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_path_display_item.h
|
View
|
|
3 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_path_display_item.cc
|
View
|
|
6 chunks |
+30 lines, -36 lines |
0 comments
|
Download
|
 |
M |
cc/playback/compositing_display_item.h
|
View
|
|
3 chunks |
+8 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/playback/compositing_display_item.cc
|
View
|
|
5 chunks |
+46 lines, -53 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item.h
|
View
|
|
1 chunk |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list.h
|
View
|
|
4 chunks |
+25 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list.cc
|
View
|
|
11 chunks |
+71 lines, -21 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list_unittest.cc
|
View
|
|
28 chunks |
+83 lines, -43 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_proto_factory.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_proto_factory.cc
|
View
|
|
1 chunk |
+15 lines, -27 lines |
0 comments
|
Download
|
 |
M |
cc/playback/drawing_display_item.h
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/playback/drawing_display_item.cc
|
View
|
|
4 chunks |
+19 lines, -35 lines |
0 comments
|
Download
|
 |
M |
cc/playback/filter_display_item.h
|
View
|
|
3 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/playback/filter_display_item.cc
|
View
|
|
4 chunks |
+34 lines, -35 lines |
0 comments
|
Download
|
 |
M |
cc/playback/float_clip_display_item.h
|
View
|
|
2 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/playback/float_clip_display_item.cc
|
View
|
|
6 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/playback/transform_display_item.h
|
View
|
|
2 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/playback/transform_display_item.cc
|
View
|
|
6 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.cc
|
View
|
|
3 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_masks.cc
|
View
|
|
3 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_tiles.cc
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/clip_recorder.cc
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositing_recorder.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_cache.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_cache.cc
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_recorder.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/transform_recorder.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|