Bug 1416533 - Skip to generate frame if there is no update r=nical,kats
This commit is contained in:
@@ -70,8 +70,9 @@ WebRenderImageHost::UseTextureHost(const nsTArray<TimedTexture>& aTextures)
|
||||
mImages.SwapElements(newImages);
|
||||
newImages.Clear();
|
||||
|
||||
if (mWrBridge && GetAsyncRef()) {
|
||||
mWrBridge->ScheduleComposition();
|
||||
if (mWrBridge && mWrBridge->CompositorScheduler() && GetAsyncRef()) {
|
||||
// Will check if we will generate frame.
|
||||
mWrBridge->CompositorScheduler()->ScheduleComposition();
|
||||
}
|
||||
|
||||
// Video producers generally send replacement images with the same frameID but
|
||||
|
||||
Reference in New Issue
Block a user