mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
Bug 939962: set pref to enable willReadFrequently software canvas option
This commit is contained in:
parent
ae51a48131
commit
5812575908
@ -878,3 +878,13 @@ pref("identity.fxaccounts.auth.uri", "https://api-accounts.dev.lcip.org/v1");
|
||||
// Gaia relies heavily on scroll events for now, so lets fire them
|
||||
// more often than the default value (100).
|
||||
pref("apz.asyncscroll.throttle", 40);
|
||||
|
||||
// This preference allows FirefoxOS apps (and content, I think) to force
|
||||
// the use of software (instead of hardware accelerated) 2D canvases by
|
||||
// creating a context like this:
|
||||
//
|
||||
// canvas.getContext('2d', { willReadFrequently: true })
|
||||
//
|
||||
// Using a software canvas can save memory when JS calls getImageData()
|
||||
// on the canvas frequently. See bug 884226.
|
||||
pref("gfx.canvas.willReadFrequently.enable", true);
|
||||
|
Loading…
Reference in New Issue
Block a user