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/+/2227045 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#774392}
This commit is contained in:
@@ -1587,8 +1587,9 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) {
|
|||||||
base::saturated_cast<int>(active_tree_->picture_layers().size()), 1,
|
base::saturated_cast<int>(active_tree_->picture_layers().size()), 1,
|
||||||
400, 20);
|
400, 20);
|
||||||
|
|
||||||
// TODO(yigu): Maybe we should use the same check above. Need to figure out
|
// TODO(pdr): Instead of skipping empty picture layers, maybe we should
|
||||||
// why exactly we skip 0.
|
// accumulate layer->GetRasterSource()->GetMemoryUsage() above and skip
|
||||||
|
// recording when the accumulated memory usage is 0.
|
||||||
if (!active_tree()->picture_layers().empty()) {
|
if (!active_tree()->picture_layers().empty()) {
|
||||||
UMA_HISTOGRAM_CUSTOM_COUNTS(
|
UMA_HISTOGRAM_CUSTOM_COUNTS(
|
||||||
base::StringPrintf("Compositing.%s.GPUMemoryForTilingsInKb",
|
base::StringPrintf("Compositing.%s.GPUMemoryForTilingsInKb",
|
||||||
|
Reference in New Issue
Block a user