Bug 1266396 - Make TextureClient more robust against racy shutdown situations. r=Bas
This commit is contained in:
@@ -133,6 +133,17 @@ GrallocTextureData::Forget(ClientIPCAllocator* aAllocator)
|
||||
mGraphicBuffer = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
GrallocTextureData::FillInfo(TextureData::Info& aInfo) const
|
||||
{
|
||||
aInfo.size = mSize;
|
||||
aInfo.format = mFormat;
|
||||
aInfo.hasIntermediateBuffer = false;
|
||||
aInfo.hasSynchronization = true;
|
||||
aInfo.supportsMoz2D = true;
|
||||
aInfo.canExposeMappedData = true;
|
||||
}
|
||||
|
||||
bool
|
||||
GrallocTextureData::Serialize(SurfaceDescriptor& aOutDescriptor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user