Bug 1339202 - Decode images to shared surfaces for WebRender. r=tnikkel

This commit is contained in:
Andrew Osmond
2017-02-08 15:48:59 -05:00
parent 38091e3d4f
commit c03ed5beaf
7 changed files with 98 additions and 10 deletions

View File

@@ -266,6 +266,7 @@ DecoderFactory::CreateDecoderForICOResource(DecoderType aType,
decoder->SetOutputSize(aICODecoder->OutputSize());
decoder->SetDecoderFlags(aICODecoder->GetDecoderFlags());
decoder->SetSurfaceFlags(aICODecoder->GetSurfaceFlags());
decoder->SetFinalizeFrames(false);
if (NS_FAILED(decoder->Init())) {
return nullptr;