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

Issue 1835523002: cc: Add LayerTreeSetting to disable cached picture raster. (Closed)

Created:
4 years, 9 months ago by Khushal
Modified:
4 years, 8 months ago
Reviewers:
vmpstr, no sievers
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Add LayerTreeSetting to disable cached picture raster. PictureImageLayer currently uses cached picture by default since it was used by GatherPixelRefs. This is no longer necessary since we now use GenerateDiscardableImagesMetadata in DisplayItemList to build the image map, which supports both modes. BUG=597163 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/8e17a5b61e3e9a14939ebc10a152e108c2a0ba07 Cr-Commit-Position: refs/heads/master@{#384346}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use LayerTreeSettings for cached picture raster. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -5 lines) Patch
M cc/layers/picture_image_layer.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/picture_image_layer_unittest.cc View 1 3 chunks +9 lines, -0 lines 2 comments Download
M cc/proto/layer_tree_settings.proto View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 4 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
Khushal
4 years, 9 months ago (2016-03-25 00:55:06 UTC) #3
Khushal
On 2016/03/25 00:55:06, Khushal wrote: friendly ping. :)
4 years, 9 months ago (2016-03-25 21:15:00 UTC) #4
vmpstr
https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_layer.cc File cc/layers/picture_image_layer.cc (right): https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_layer.cc#newcode23 cc/layers/picture_image_layer.cc:23: static bool UseCachedPictureRaster() { Is it possible to plumb ...
4 years, 9 months ago (2016-03-25 21:45:12 UTC) #5
danakj
driveby: You can't line wrap the first line of a CL description, only the first ...
4 years, 9 months ago (2016-03-25 21:46:13 UTC) #6
Khushal
https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_layer.cc File cc/layers/picture_image_layer.cc (right): https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_layer.cc#newcode23 cc/layers/picture_image_layer.cc:23: static bool UseCachedPictureRaster() { On 2016/03/25 21:45:12, vmpstr wrote: ...
4 years, 9 months ago (2016-03-25 21:53:48 UTC) #9
Khushal
On 2016/03/25 21:46:13, danakj wrote: > driveby: You can't line wrap the first line of ...
4 years, 9 months ago (2016-03-25 21:54:04 UTC) #10
Khushal
Moved disabling cached picture raster to a LayerTreeSetting. PTAL.
4 years, 8 months ago (2016-03-29 17:50:57 UTC) #13
vmpstr
lgtm https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image_layer_unittest.cc File cc/layers/picture_image_layer_unittest.cc (right): https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image_layer_unittest.cc#newcode54 cc/layers/picture_image_layer_unittest.cc:54: layer->SetLayerTreeHost(nullptr); Do you need this? If not, then ...
4 years, 8 months ago (2016-03-29 18:46:05 UTC) #14
Khushal
https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image_layer_unittest.cc File cc/layers/picture_image_layer_unittest.cc (right): https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image_layer_unittest.cc#newcode54 cc/layers/picture_image_layer_unittest.cc:54: layer->SetLayerTreeHost(nullptr); On 2016/03/29 18:46:05, vmpstr wrote: > Do you ...
4 years, 8 months ago (2016-03-29 18:57:53 UTC) #15
Khushal
friendly ping for content/ review.
4 years, 8 months ago (2016-03-30 23:04:24 UTC) #16
no sievers
On 2016/03/30 23:04:24, Khushal wrote: > friendly ping for content/ review. lgtm
4 years, 8 months ago (2016-03-30 23:39:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835523002/20001
4 years, 8 months ago (2016-03-31 00:56:17 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/151223)
4 years, 8 months ago (2016-03-31 01:19:22 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835523002/20001
4 years, 8 months ago (2016-03-31 01:27:32 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/151252)
4 years, 8 months ago (2016-03-31 02:21:43 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835523002/20001
4 years, 8 months ago (2016-03-31 17:43:35 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-31 18:49:46 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 18:50:59 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8e17a5b61e3e9a14939ebc10a152e108c2a0ba07
Cr-Commit-Position: refs/heads/master@{#384346}

Powered by Google App Engine
This is Rietveld 408576698