mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 17:43:44 +00:00
Bug 935672 - Only use accelerated skia on gonk. r=mwoodrow
This commit is contained in:
parent
e84a581d56
commit
1bffbacb76
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user