Commit fe1c641a authored by nduca@chromium.org's avatar nduca@chromium.org

[cc] Dont throw away tiles that stop moving

The check being removed here basically says "if you're offscreen, and have no time to visible, then you should go in the never bin."

The problem is that when a layer stops moving, then its offscreen tiles are put in never bin. That means that we lose all those tiles we put effort into painting. This increases the frequency at which one sees blurry tiles after the page goes stationary. 

R=ccameron,reveman
BUG=175276

Review URL: https://chromiumcodereview.appspot.com/12220115

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181974 0039d316-1c4b-4281-b951-d872f2087c98
parent 6e4870a2
......@@ -49,9 +49,6 @@ inline TileManagerBin BinFromTilePriority(const TilePriority& prio) {
TilePriority::kMaxDistanceInContentSpace)
return NEVER_BIN;
if (prio.time_to_visible_in_seconds == std::numeric_limits<float>::infinity())
return NEVER_BIN;
if (prio.time_to_visible_in_seconds == 0 ||
prio.distance_to_visible_in_pixels < backfling_guard_distance_pixels)
return NOW_BIN;
......
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