Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc

This commit is contained in:
Nicolas Silva
2014-01-07 17:20:11 +01:00
parent 79322a3721
commit 6fd420766e
22 changed files with 446 additions and 112 deletions

View File

@@ -171,11 +171,13 @@ GrallocTextureClientOGL::Lock(OpenMode aMode)
NS_WARNING("Couldn't lock graphic buffer");
return false;
}
return true;
return BufferTextureClient::Lock(aMode);
}
void
GrallocTextureClientOGL::Unlock()
{
BufferTextureClient::Unlock();
mMappedBuffer = nullptr;
mGraphicBuffer->unlock();
}