Bug 1133527. Fallback to software vsync on android. r=kats
authorMason Chang <mchang@mozilla.com>
Fri, 20 Mar 2015 08:12:53 -0700
changeset 263606 5dcff2ab60e65cfed5a1dd4856444cfedfbf7574
parent 263605 1b66d8f67cf787406b7cced622755b765693713e
child 263607 12c2f0b35afed34eed6c632dfc3cb0678b7218fb
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1133527
milestone39.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 1133527. Fallback to software vsync on android. r=kats
gfx/thebes/gfxAndroidPlatform.cpp
--- a/gfx/thebes/gfxAndroidPlatform.cpp
+++ b/gfx/thebes/gfxAndroidPlatform.cpp
@@ -494,12 +494,11 @@ gfxAndroidPlatform::CreateHardwareVsyncS
     display.EnableVsync();
     if (!display.IsVsyncEnabled()) {
         NS_WARNING("Error enabling gonk vsync. Falling back to software vsync\n");
         return gfxPlatform::CreateHardwareVsyncSource();
     }
     display.DisableVsync();
     return vsyncSource.forget();
 #else
-    NS_WARNING("Hardware vsync not supported on android yet");
-    return nullptr;
+    return gfxPlatform::CreateHardwareVsyncSource();
 #endif
 }