Bug 935672 - Only use accelerated skia on gonk. r=mwoodrow

This commit is contained in:
Dale Harvey 2013-11-15 08:55:55 -08:00
parent e84a581d56
commit 1bffbacb76

View File

@ -814,8 +814,10 @@ pref("devtools.debugger.unix-domain-socket", "/data/local/debugger-socket");
// enable Skia/GL (OpenGL-accelerated 2D drawing) for large enough 2d canvases,
// falling back to Skia/software for smaller canvases
#ifdef MOZ_WIDGET_GONK
pref("gfx.canvas.azure.backends", "skia");
pref("gfx.canvas.azure.accelerated", true);
#endif
// Turn on dynamic cache size for Skia
pref("gfx.canvas.skiagl.dynamic-cache", true);