Bug 1298822 - Always invalidate layers when resuming the compositor r=BenWa
authorJames Willcox <snorp@snorp.net>
Wed, 31 Aug 2016 16:06:01 -0500
changeset 312133 dec6a438ea4366589d038dd181f3da2904015eac
parent 312132 f350e8c6c982a544b3fa93390cd40909f3b46286
child 312134 3c3194673109d9e704e9c67f4318043ebf153b92
push id30632
push userryanvm@gmail.com
push dateThu, 01 Sep 2016 02:33:28 +0000
treeherdermozilla-central@b7f7ae14590a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs1298822
milestone51.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 1298822 - Always invalidate layers when resuming the compositor r=BenWa
gfx/layers/ipc/CompositorBridgeParent.cpp
--- a/gfx/layers/ipc/CompositorBridgeParent.cpp
+++ b/gfx/layers/ipc/CompositorBridgeParent.cpp
@@ -1066,16 +1066,17 @@ CompositorBridgeParent::ResumeCompositio
     __android_log_print(ANDROID_LOG_INFO, "CompositorBridgeParent", "Unable to renew compositor surface; remaining in paused state");
 #endif
     lock.NotifyAll();
     return;
   }
 
   mPaused = false;
 
+  Invalidate();
   mCompositorScheduler->ResumeComposition();
 
   // if anyone's waiting to make sure that composition really got resumed, tell them
   lock.NotifyAll();
 }
 
 void
 CompositorBridgeParent::ForceComposition()