Bug 1191457 - Revert SetDispAcquireFence() calling change r=nical
authorSotaro Ikeda <sikeda@mozilla.com>
Thu, 06 Aug 2015 06:50:02 -0700
changeset 288197 16166aafd9d5a33a95905d178c8a85626a24d092
parent 288196 747994da54357add8039de098483cebbb506b803
child 288198 08301f579388fc32715f44942ccef9eefe6e6c7e
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs1191457
milestone42.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 1191457 - Revert SetDispAcquireFence() calling change r=nical
gfx/layers/composite/LayerManagerComposite.cpp
--- a/gfx/layers/composite/LayerManagerComposite.cpp
+++ b/gfx/layers/composite/LayerManagerComposite.cpp
@@ -754,21 +754,21 @@ LayerManagerComposite::Render()
   // Debugging
   RenderDebugOverlay(actualBounds);
 
   {
     PROFILER_LABEL("LayerManagerComposite", "EndFrame",
       js::ProfileEntry::Category::GRAPHICS);
 
     mCompositor->EndFrame();
+    mCompositor->SetDispAcquireFence(mRoot); // Call after EndFrame()
   }
 
   if (composer2D) {
     composer2D->Render(mCompositor->GetWidget());
-    mCompositor->SetDispAcquireFence(mRoot);
   }
 
   mCompositor->GetWidget()->PostRender(this);
 
   RecordFrame();
 }
 
 #ifdef MOZ_WIDGET_ANDROID