diff options
author | danakj <danakj@chromium.org> | 2015-05-05 16:15:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 23:16:32 +0000 |
commit | 4bf88ec3975213f0b4ca7c2f6c95835e11b33d5b (patch) | |
tree | e34c0bf81cae7d14424d42b599b7ea1498aef337 /cc/trees | |
parent | 21414ababfc5f7264c2c16f9e15cf9bc2aa3b422 (diff) | |
download | chromium_src-4bf88ec3975213f0b4ca7c2f6c95835e11b33d5b.zip chromium_src-4bf88ec3975213f0b4ca7c2f6c95835e11b33d5b.tar.gz chromium_src-4bf88ec3975213f0b4ca7c2f6c95835e11b33d5b.tar.bz2 |
ui: Disable the use_cached_picture option in DisplayListRecordingSource
The ui compositor does not need the use_cached_picture option and it
slows down recording a fair bit. Add a flag to turn it off in
LayerTreeSettings and disable it in ui::Compositor.
R=ajuma
BUG=466426
Review URL: https://codereview.chromium.org/1125983002
Cr-Commit-Position: refs/heads/master@{#328431}
Diffstat (limited to 'cc/trees')
-rw-r--r-- | cc/trees/layer_tree_settings.cc | 1 | ||||
-rw-r--r-- | cc/trees/layer_tree_settings.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc index ce8445e..33bf9e3 100644 --- a/cc/trees/layer_tree_settings.cc +++ b/cc/trees/layer_tree_settings.cc @@ -69,6 +69,7 @@ LayerTreeSettings::LayerTreeSettings() use_occlusion_for_tile_prioritization(false), record_full_layer(false), use_display_lists(false), + use_cached_picture_in_display_list(true), verify_property_trees(false), gather_pixel_refs(false), use_compositor_animation_timelines(false) { diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h index 661c7e4..2d52bb6 100644 --- a/cc/trees/layer_tree_settings.h +++ b/cc/trees/layer_tree_settings.h @@ -81,6 +81,7 @@ class CC_EXPORT LayerTreeSettings { bool use_occlusion_for_tile_prioritization; bool record_full_layer; bool use_display_lists; + bool use_cached_picture_in_display_list; bool verify_property_trees; bool gather_pixel_refs; bool use_compositor_animation_timelines; |