Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 900043002: Modify rasterize_and_record for DisplayItemList recording. (Closed)

Created:
5 years, 10 months ago by Stephen Chennney
Modified:
5 years, 10 months ago
Reviewers:
danakj, ajuma, nduca, Sami, vmpstr
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org, telemetry-reviews_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Patch Set 3 : Removing include that android doesn't handle #

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

Messages

Total messages: 19 (6 generated)
Stephen Chennney
Can't land yet. Let me know what you think.
5 years, 10 months ago (2015-02-04 22:25:20 UTC) #1
ajuma
This seems reasonable to me. https://codereview.chromium.org/900043002/diff/1/cc/blink/web_content_layer_impl.cc File cc/blink/web_content_layer_impl.cc (right): https://codereview.chromium.org/900043002/diff/1/cc/blink/web_content_layer_impl.cc#newcode23 cc/blink/web_content_layer_impl.cc:23: PaintingControlToWeb( This should either ...
5 years, 10 months ago (2015-02-04 22:47:34 UTC) #2
Stephen Chennney
Thanks. Updated. https://codereview.chromium.org/900043002/diff/1/cc/blink/web_content_layer_impl.cc File cc/blink/web_content_layer_impl.cc (right): https://codereview.chromium.org/900043002/diff/1/cc/blink/web_content_layer_impl.cc#newcode23 cc/blink/web_content_layer_impl.cc:23: PaintingControlToWeb( On 2015/02/04 22:47:33, ajuma wrote: > ...
5 years, 10 months ago (2015-02-05 14:57:42 UTC) #3
Stephen Chennney
The Blink side changes have also landed now, so it can be committed once we're ...
5 years, 10 months ago (2015-02-05 15:04:25 UTC) #4
Stephen Chennney
And added reviewers to hit all the different ownership requirements.
5 years, 10 months ago (2015-02-05 15:06:46 UTC) #6
ajuma
On 2015/02/05 14:57:42, Stephen Chenney wrote: > Thanks. Updated. > > https://codereview.chromium.org/900043002/diff/1/cc/blink/web_content_layer_impl.cc > File cc/blink/web_content_layer_impl.cc ...
5 years, 10 months ago (2015-02-05 15:08:34 UTC) #7
nduca
lgtm
5 years, 10 months ago (2015-02-05 17:51:43 UTC) #8
danakj
ui/ lgtm
5 years, 10 months ago (2015-02-05 17:59:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900043002/20001
5 years, 10 months ago (2015-02-05 18:01:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/52522)
5 years, 10 months ago (2015-02-05 18:21:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/900043002/40001
5 years, 10 months ago (2015-02-05 18:44:54 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-05 19:47:20 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 19:48:15 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0154bfa2bd8c5cd8a906deb1e6415f7c7fc417a0
Cr-Commit-Position: refs/heads/master@{#314857}

Powered by Google App Engine
This is Rietveld 408576698