|
cc: Make DisplayItemList::Append replay into an SkPicture
This makes DisplayItemList no longer retain individual display
items when caching into a picture is enabled, except when
tracing is also enabled (so that per-item trace output can
still be produced). Instead, only an SkPicture representation
is retained. This avoids the memory cost of storing both the
SkPicture representation (which is needed for raster performance)
as well as the individual display items.
BUG= 476073
Committed: https://crrev.com/ec7c07e57bc5f91e3ba0bdeba8b6f534978615b0
Cr-Commit-Position: refs/heads/master@{#325292}
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+187 lines, -130 lines) |
Patch |
 |
M |
cc/blink/web_compositor_support_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/blink/web_compositor_support_impl.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/blink/web_content_layer_impl.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/blink/web_content_layer_impl.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/blink/web_display_item_list_impl.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/blink/web_display_item_list_impl.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/debug/rasterize_and_record_benchmark.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/content_layer_client.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+37 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_item.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/display_item.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_item_list.h
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_item_list.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+43 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_item_list_unittest.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+28 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/resources/drawing_display_item.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/drawing_display_item.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_display_list_recording_source.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_masks.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/layer.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
Total messages: 20 (7 generated)
|