|
Modify rasterize_and_record for DisplayItemList recording.
There is a lot of change here for relatively little effect.
That effect is important, however, for moving forward.
This depends on https://codereview.chromium.org/880653004/.
1) Move Picture::RecordingMode to RecordingSource, because
Display List recording does not use Picture.
2) Add a new recording mode for disabled caches, which has
meaning in Display List recording. Picture recording falls
back to normal recording, while Display List recording
uses painting disabled mode when null canvas is specified,
because null canvas has no meaning for Display Lists.
3) Rename the enum in ContentLayerClient to reflect the new
painting control modes and the changes in
WebContentLayerClient.
4) Adjust all the code that uses these settings.
5) Adjust the benchmark code to make use of the new modes.
R=ajuma,vmpstr
BUG= 451448
Committed: https://crrev.com/0154bfa2bd8c5cd8a906deb1e6415f7c7fc417a0
Cr-Commit-Position: refs/heads/master@{#314857}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+294 lines, -237 lines) |
Patch |
 |
M |
cc/blink/web_content_layer_impl.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/blink/web_content_layer_impl.cc
|
View
|
1
|
2 chunks |
+19 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/debug/picture_record_benchmark.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/debug/rasterize_and_record_benchmark.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/debug/rasterize_and_record_benchmark.cc
|
View
|
|
5 chunks |
+62 lines, -51 lines |
0 comments
|
Download
|
 |
M |
cc/layers/content_layer.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/content_layer_client.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_image_layer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.h
|
View
|
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.cc
|
View
|
1
|
2 chunks |
+31 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture.h
|
View
|
|
3 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture.cc
|
View
|
|
4 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.h
|
View
|
|
3 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/picture_unittest.cc
|
View
|
|
7 chunks |
+26 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/resources/recording_source.h
|
View
|
|
2 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.h
|
View
|
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_content_layer_client.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile_impl.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/test/solid_color_content_layer_client.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_masks.cc
|
View
|
|
3 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
tools/perf/measurements/rasterize_and_record_micro.py
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 19 (6 generated)
|