Bug 773460. Pref on Azure/Cairo for Android. r=joe
authorNicholas Cameron <ncameron@mozilla.com>
Fri, 10 Aug 2012 06:45:03 +1200
changeset 102000 2730ef5ea1d0ea88a61617cc024a31cb66cacd49
parent 101999 c25027433c158c884f9c65f6218ab716c75da6e5
child 102001 5976c3d86e7533d5499126e3b28a70ac5346c576
push id23260
push userryanvm@gmail.com
push dateFri, 10 Aug 2012 02:53:38 +0000
treeherdermozilla-central@4e150530c925 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe
bugs773460
milestone17.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 773460. Pref on Azure/Cairo for Android. r=joe
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -233,20 +233,25 @@ pref("gfx.canvas.azure.enabled", true);
 // e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
 pref("gfx.canvas.azure.backends", "direct2d,cairo");
 pref("gfx.content.azure.enabled", true);
 #else
 #ifdef XP_MACOSX
 pref("gfx.canvas.azure.enabled", true);
 pref("gfx.canvas.azure.backends", "cg");
 #else
+#ifdef ANDROID
+pref("gfx.canvas.azure.enabled", true);
+pref("gfx.canvas.azure.backends", "cairo");
+#else
 pref("gfx.canvas.azure.enabled", false);
 pref("gfx.canvas.azure.backends", "cairo");
 #endif
 #endif
+#endif
 
 #ifdef ANDROID
 pref("gfx.textures.poweroftwo.force-enabled", false);
 #endif
 
 pref("gfx.work-around-driver-bugs", true);
 pref("gfx.prefer-mesa-llvmpipe", false);