|
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}
Total comments: 5
Total comments: 23
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+496 lines, -553 lines) |
Patch |
 |
M |
cc/blink/web_display_item_list_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+25 lines, -42 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_display_item.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+30 lines, -29 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_path_display_item.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/playback/clip_path_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+36 lines, -30 lines |
0 comments
|
Download
|
 |
M |
cc/playback/compositing_display_item.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/playback/compositing_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+44 lines, -37 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+18 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+20 lines, -70 lines |
0 comments
|
Download
|
 |
M |
cc/playback/display_item_list_unittest.cc
|
View
|
1
2
|
28 chunks |
+43 lines, -83 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 |
+27 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/playback/drawing_display_item.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/playback/drawing_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+35 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/playback/filter_display_item.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/playback/filter_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+29 lines, -28 lines |
0 comments
|
Download
|
 |
M |
cc/playback/float_clip_display_item.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/playback/float_clip_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+24 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/playback/transform_display_item.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/playback/transform_display_item.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+24 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_masks.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_tiles.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/clip_recorder.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositing_recorder.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_cache.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_cache.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/paint_recorder.cc
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/transform_recorder.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 30 (7 generated)
|