Bug 814864 - Abort old, stale, low precision updates. r=kats

Don't spend time during stale, low precision content when there are newer
display ports in the pipeline.
This commit is contained in:
Chris Lord 2012-11-29 13:08:40 +00:00
parent 6f781344f3
commit c18df4638e

View File

@ -412,6 +412,11 @@ public class GeckoLayerClient
return mProgressiveUpdateData;
}
// Abort drawing stale low-precision content if there's a more recent
// display-port in the pipeline.
if (lowPrecision && !aHasPendingNewThebesContent) {
mProgressiveUpdateData.abort = true;
}
return mProgressiveUpdateData;
}