Bug 1459686 - Include async image updates in the displaylist transaction. r?sotaro draft
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 07 May 2018 14:11:35 -0400
changeset 792172 f74f6733c96b1a44039dbc2414510e468a9cc1cd
parent 792171 f0991fd450204c96c3a408238c1f1c815e2883ba
child 792277 17cec2fea32634e6bf340e6dc147cee969a26fb2
push id109023
push userkgupta@mozilla.com
push dateMon, 07 May 2018 19:43:53 +0000
reviewerssotaro
bugs1459686
milestone62.0a1
Bug 1459686 - Include async image updates in the displaylist transaction. r?sotaro MozReview-Commit-ID: BUxzRBSWVaU
gfx/layers/wr/WebRenderBridgeParent.cpp
--- a/gfx/layers/wr/WebRenderBridgeParent.cpp
+++ b/gfx/layers/wr/WebRenderBridgeParent.cpp
@@ -646,16 +646,17 @@ WebRenderBridgeParent::RecvSetDisplayLis
       LayoutDeviceIntSize widgetSize = mWidget->GetClientSize();
       LayoutDeviceIntRect docRect(LayoutDeviceIntPoint(), widgetSize);
       txn.SetWindowParameters(widgetSize, docRect);
     }
     gfx::Color clearColor(0.f, 0.f, 0.f, 0.f);
     txn.SetDisplayList(clearColor, wrEpoch, LayerSize(aSize.width, aSize.height),
                        mPipelineId, aContentSize,
                        dlDesc, dlData);
+    mAsyncImageManager->ApplyAsyncImages(txn);
 
     mApi->SendTransaction(txn);
 
     ScheduleGenerateFrame();
 
     if (ShouldParentObserveEpoch()) {
       mCompositorBridge->ObserveLayerUpdate(GetLayersId(), GetChildLayerObserverEpoch(), true);
     }