Created
June 9, 2015 13:40
-
-
Save yuttie/de097d004499adb984bd to your computer and use it in GitHub Desktop.
Optimizations for Firefox on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Force-enable hardware acceleration. | |
// Setting MOZ_USE_OMTC=1 is necessary. | |
// http://en.librehat.com/blog/force-enable-hardware-acceleration-in-firefox-on-linux/ | |
user_pref("webgl.force-enabled", true); | |
user_pref("layers.acceleration.force-enabled", true); | |
user_pref("layers.offmainthreadcomposition.enabled;true", true); | |
user_pref("layers.offmainthreadcomposition.async-animations", true); | |
// Force-enable Skia backend for Azure | |
// https://bugzilla.mozilla.org/show_bug.cgi?id=740200#c44 | |
user_pref("gfx.content.azure.backends", "skia"); | |
user_pref("gfx.canvas.azure.backends", "skia"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment