Bug 1197176 - Ensure we actually do a composite after resuming the compositor. r=snorp, a=ritu
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 21 Aug 2015 10:44:23 -0400
changeset 282128 fe004d290a87688fd8d7806d6b6cd4d2ab7db455
parent 282127 7218018d3945b4ef63afe708a647369c48d1e8cc
child 282129 65d63fc8b1def5274910882bb07c6cfee1400aab
push id5018
push userryanvm@gmail.com
push dateWed, 02 Sep 2015 19:23:11 +0000
treeherdermozilla-beta@cc5472880f4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, ritu
bugs1197176
milestone41.0
Bug 1197176 - Ensure we actually do a composite after resuming the compositor. r=snorp, a=ritu
mobile/android/base/gfx/GLController.java
--- a/mobile/android/base/gfx/GLController.java
+++ b/mobile/android/base/gfx/GLController.java
@@ -267,16 +267,17 @@ public class GLController {
         // https://bugzilla.mozilla.org/show_bug.cgi?id=735230#c23), so we
         // resume the compositor directly. We still need to inform Gecko about
         // the compositor resuming, so that Gecko knows that it can now draw.
         // It is important to not notify Gecko until after the compositor has
         // been resumed, otherwise Gecko may send updates that get dropped.
         if (mCompositorCreated) {
             GeckoAppShell.scheduleResumeComposition(width, height);
             GeckoAppShell.sendEventToGecko(GeckoEvent.createCompositorResumeEvent());
+            mView.requestRender();
         }
     }
 
     public static class GLControllerException extends RuntimeException {
         public static final long serialVersionUID = 1L;
 
         GLControllerException(String e) {
             super(e);