mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
6f781344f3
commit
c18df4638e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user