|
|
Chromium Code Reviews
Descriptioncc: 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
Messages
Total messages: 31 (13 generated)
Description was changed from ========== cc: Use --disable-cached-picture-raster to initialize DisplayItemListSettings in PictureImageLayer. 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 ========== to ========== cc: Use --disable-cached-picture-raster to initialize DisplayItemListSettings in PictureImageLayer. 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 ==========
khushalsagar@chromium.org changed reviewers: + vmpstr@chromium.org
On 2016/03/25 00:55:06, Khushal wrote: friendly ping. :)
https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_lay... File cc/layers/picture_image_layer.cc (right): https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_lay... cc/layers/picture_image_layer.cc:23: static bool UseCachedPictureRaster() { Is it possible to plumb this through layer tree settings? I don't really want to set the precedent of checking the command line in our layers... The web_content_layer_impl is kind of the blink interface, so I'm not sure if they can access layer tree settings.
driveby: You can't line wrap the first line of a CL description, only the first line counts.
Description was changed from ========== cc: Use --disable-cached-picture-raster to initialize DisplayItemListSettings in PictureImageLayer. 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 ========== to ========== cc: Use --disable-cached-picture-raster in PictureImageLayer. 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 ==========
Description was changed from ========== cc: Use --disable-cached-picture-raster in PictureImageLayer. 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 ========== to ========== cc: Use disable-cached-picture-raster in PictureImageLayer. 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 ==========
https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_lay... File cc/layers/picture_image_layer.cc (right): https://codereview.chromium.org/1835523002/diff/1/cc/layers/picture_image_lay... cc/layers/picture_image_layer.cc:23: static bool UseCachedPictureRaster() { On 2016/03/25 21:45:12, vmpstr wrote: > Is it possible to plumb this through layer tree settings? I don't really want to > set the precedent of checking the command line in our layers... The > web_content_layer_impl is kind of the blink interface, so I'm not sure if they > can access layer tree settings. Sure I can add a LayerTreeSetting for this. Yup, cc/blink wouldn't have any access to it, so we would have to use the command line flag there.
On 2016/03/25 21:46:13, danakj wrote: > driveby: You can't line wrap the first line of a CL description, only the first > line counts. Woopsie. Fixed that.
Description was changed from ========== cc: Use disable-cached-picture-raster in PictureImageLayer. 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 ========== to ========== 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 ==========
khushalsagar@chromium.org changed reviewers: + sievers@chromium.org
Moved disabling cached picture raster to a LayerTreeSetting. PTAL.
lgtm https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image... File cc/layers/picture_image_layer_unittest.cc (right): https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image... cc/layers/picture_image_layer_unittest.cc:54: layer->SetLayerTreeHost(nullptr); Do you need this? If not, then please remove.
https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image... File cc/layers/picture_image_layer_unittest.cc (right): https://codereview.chromium.org/1835523002/diff/20001/cc/layers/picture_image... cc/layers/picture_image_layer_unittest.cc:54: layer->SetLayerTreeHost(nullptr); On 2016/03/29 18:46:05, vmpstr wrote: > Do you need this? If not, then please remove. The Layer must be detached from its host during teardown. There is a DCHECK to asset that in the destructor.
friendly ping for content/ review.
On 2016/03/30 23:04:24, Khushal wrote: > friendly ping for content/ review. lgtm
The CQ bit was checked by khushalsagar@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by khushalsagar@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by khushalsagar@chromium.org
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
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/8e17a5b61e3e9a14939ebc10a152e108c2a0ba07 Cr-Commit-Position: refs/heads/master@{#384346} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
