mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Flush any buffer operations that may be running after EndEmptyTransaction before EndTransaction (bug 1416308, r=dvander)
MozReview-Commit-ID: CpdtwW2JNip --HG-- extra : rebase_source : 20e46df173896d5d4fef7f0a9c0989096cd14daa
This commit is contained in:
parent
639eb384ce
commit
3a2498f61a
@ -436,6 +436,12 @@ ClientLayerManager::EndTransaction(DrawPaintedLayerCallback aCallback,
|
||||
return;
|
||||
}
|
||||
|
||||
if (mTransactionIncomplete) {
|
||||
// If the previous transaction was incomplete then we may have buffer operations
|
||||
// running on the paint thread that haven't finished yet
|
||||
GetCompositorBridgeChild()->FlushAsyncPaints();
|
||||
}
|
||||
|
||||
if (mWidget) {
|
||||
mWidget->PrepareWindowEffects();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user