Commit c5426fdf authored by Chris Harrelson's avatar Chris Harrelson Committed by Commit Bot

Add logging when we run out of GPU memory for tiles.

Change-Id: Ie9adf5ba6dbde516e79db2c2933620675edea43f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669325
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671727}
parent b4e11c90
......@@ -779,8 +779,12 @@ TileManager::PrioritizedWorkToSchedule TileManager::AssignGpuMemoryToTiles() {
// If we couldn't fit the tile into our current memory limit, then we're
// done.
if (!memory_usage_is_within_limit) {
if (tile_is_needed_now)
if (tile_is_needed_now) {
LOG(ERROR) << "WARNING: tile memory limits exceeded, some content may "
"not draw";
had_enough_memory_to_schedule_tiles_needed_now = false;
}
all_tiles_that_need_to_be_rasterized_are_scheduled_ = false;
break;
}
......
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