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

@@ -64,6 +64,7 @@ Decoder::Decoder(RasterImage* aImage)
, mDecodeDone(false)
, mError(false)
, mShouldReportError(false)
, mFinalizeFrames(true)
{ }
Decoder::~Decoder()
@@ -455,7 +456,7 @@ Decoder::PostFrameStop(Opacity aFrameOpacity
mFinishedNewFrame = true;
mCurrentFrame->Finish(aFrameOpacity, aDisposalMethod, aTimeout,
aBlendMethod, aBlendRect);
aBlendMethod, aBlendRect, mFinalizeFrames);
mProgress |= FLAG_FRAME_COMPLETE;