Bug 1452901 - Schedule generate frame r=nical
authorsotaro <sotaro.ikeda.g@gmail.com>
Wed, 11 Apr 2018 11:34:25 +0900
changeset 412790 320b237f7ec630a1ded841cb9095f1543a175cf8
parent 412789 107214f8a65dac49aa506f5411bf81d9ae6376c2
child 412791 77dd8ec11ee1b936cb88c24961ef4cb5e281b391
push id33818
push userapavel@mozilla.com
push dateWed, 11 Apr 2018 14:36:40 +0000
treeherdermozilla-central@cfe6399e142c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs1452901
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1452901 - Schedule generate frame r=nical
gfx/layers/ipc/CompositorBridgeParent.cpp
--- a/gfx/layers/ipc/CompositorBridgeParent.cpp
+++ b/gfx/layers/ipc/CompositorBridgeParent.cpp
@@ -574,16 +574,19 @@ CompositorBridgeParent::RecvFlushRenderi
   }
 
   return RecvFlushRendering();
 }
 
 mozilla::ipc::IPCResult
 CompositorBridgeParent::RecvForcePresent()
 {
+  if (mWrBridge) {
+    mWrBridge->ScheduleGenerateFrame();
+  }
   // During the shutdown sequence mLayerManager may be null
   if (mLayerManager) {
     mLayerManager->ForcePresent();
   }
   return IPC_OK();
 }
 
 mozilla::ipc::IPCResult