mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 8a49d4f4bb25 (bug 1127289) for frequent B2G reftest failures.
This commit is contained in:
parent
6122a30fcc
commit
e3d0e1af9b
@ -1091,11 +1091,9 @@ ClientTiledLayerBuffer::UnlockTile(TileClient aTile)
|
||||
// We locked the back buffer, and flipped so we now need to unlock the front
|
||||
if (aTile.mFrontBuffer && aTile.mFrontBuffer->IsLocked()) {
|
||||
aTile.mFrontBuffer->Unlock();
|
||||
aTile.mFrontBuffer->SyncWithObject(mCompositableClient->GetForwarder()->GetSyncObject());
|
||||
}
|
||||
if (aTile.mFrontBufferOnWhite && aTile.mFrontBufferOnWhite->IsLocked()) {
|
||||
aTile.mFrontBufferOnWhite->Unlock();
|
||||
aTile.mFrontBufferOnWhite->SyncWithObject(mCompositableClient->GetForwarder()->GetSyncObject());
|
||||
}
|
||||
if (aTile.mBackBuffer && aTile.mBackBuffer->IsLocked()) {
|
||||
aTile.mBackBuffer->Unlock();
|
||||
@ -1295,6 +1293,8 @@ ClientTiledLayerBuffer::ValidateTile(TileClient aTile,
|
||||
tileRegion.SubOut(aDirtyRegion); // Has now been validated
|
||||
|
||||
backBuffer->SetWaste(tileRegion.Area() * mResolution * mResolution);
|
||||
backBuffer->Unlock();
|
||||
backBuffer->SyncWithObject(mCompositableClient->GetForwarder()->GetSyncObject());
|
||||
|
||||
if (createdTextureClient) {
|
||||
if (!mCompositableClient->AddTextureClient(backBuffer)) {
|
||||
|
Loading…
Reference in New Issue
Block a user