Commit f56a23e3 authored by Yi Gu's avatar Yi Gu Committed by Commit Bot

Update obsolete TODO with new owner to follow up

The TODO was introduced in crrev.com/c/548875.

Bug: None
Change-Id: I03f6061787278b04976c53c79760447a98c03346
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2227045Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774392}
parent 8bee8285
......@@ -1587,8 +1587,9 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) {
base::saturated_cast<int>(active_tree_->picture_layers().size()), 1,
400, 20);
// TODO(yigu): Maybe we should use the same check above. Need to figure out
// why exactly we skip 0.
// TODO(pdr): Instead of skipping empty picture layers, maybe we should
// accumulate layer->GetRasterSource()->GetMemoryUsage() above and skip
// recording when the accumulated memory usage is 0.
if (!active_tree()->picture_layers().empty()) {
UMA_HISTOGRAM_CUSTOM_COUNTS(
base::StringPrintf("Compositing.%s.GPUMemoryForTilingsInKb",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment