Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert

This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.
This commit is contained in:
Jeff Muizelaar
2014-10-09 16:33:22 -04:00
parent 5d8ead30ba
commit 3c55dc87ae
6 changed files with 72 additions and 14 deletions

View File

@@ -816,7 +816,6 @@ SharedSurfaceTextureClient::SharedSurfaceTextureClient(TextureFlags aFlags,
, mSurf(surf)
, mGL(mSurf->mGL)
{
mSurf->Fence();
}
SharedSurfaceTextureClient::~SharedSurfaceTextureClient()