summaryrefslogtreecommitdiffstats
path: root/cc/tiles/prioritized_tile.cc
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-08-07 17:36:54 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-08 00:38:03 +0000
commit0006e95b207be0bca6a8e6850e2d1f5147b453e4 (patch)
tree4b79807c38ba59012e460ec73afc061a7b86674c /cc/tiles/prioritized_tile.cc
parent76b4a982964ffefeffa73af775f92d4c22d48791 (diff)
downloadchromium_src-0006e95b207be0bca6a8e6850e2d1f5147b453e4.zip
chromium_src-0006e95b207be0bca6a8e6850e2d1f5147b453e4.tar.gz
chromium_src-0006e95b207be0bca6a8e6850e2d1f5147b453e4.tar.bz2
cc: Use occlusion for deciding raster/eviction priorities in browser
The browser compositor should use occlusion to allow lots of overlapping windows to take up less memory. This reduces our memory consumption in ash a bit. Though, the window UI is not considered opaque currently, so more memory is still used than could be otherwise. R=enne, vmpstr CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1277053002 Cr-Commit-Position: refs/heads/master@{#342493}
Diffstat (limited to 'cc/tiles/prioritized_tile.cc')
-rw-r--r--cc/tiles/prioritized_tile.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/tiles/prioritized_tile.cc b/cc/tiles/prioritized_tile.cc
index 67f33c9..2e0246c 100644
--- a/cc/tiles/prioritized_tile.cc
+++ b/cc/tiles/prioritized_tile.cc
@@ -33,6 +33,7 @@ void PrioritizedTile::AsValueInto(base::trace_event::TracedValue* value) const {
value->BeginDictionary("combined_priority");
priority().AsValueInto(value);
+ value->SetBoolean("is_occluded", is_occluded_);
value->EndDictionary();
value->SetString("resolution", TileResolutionToString(priority().resolution));