Skip to content

Commit

Permalink
[pref] Update "these should help performance" preferences
Browse files Browse the repository at this point in the history
The group of performance related preferences are now all
under "these should help performance" and matches to b2g / fennec.
  • Loading branch information
rainemak committed Nov 3, 2015
1 parent 8078554 commit 6a24cd2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions embedding/embedlite/embedding.js
Expand Up @@ -4,10 +4,7 @@ pref("plugins.force.wmode", "opaque");
pref("browser.xul.error_pages.enabled", true);
pref("nglayout.debug.paint_flashing", false);
pref("nglayout.debug.widget_update_flashing", false);
// Perf trick, speedup motion handlers
pref("layout.reflow.synthMouseMove", false);
// Disable Native themeing because it is usually broken
pref("mozilla.widget.disable-native-theme", true);

// Override some named colors to avoid inverse OS themes
pref("ui.-moz-dialog", "#efebe7");
pref("ui.-moz-dialogtext", "#101010");
Expand Down Expand Up @@ -178,8 +175,15 @@ pref("browser.sessionhistory.max_total_viewers", 1);
pref("browser.sessionhistory.max_entries", 50);

/* these should help performance */
pref("mozilla.widget.force-24bpp", true);
pref("mozilla.widget.use-buffer-pixmap", true);
pref("layout.css.report_errors", false);
pref("layout.reflow.synthMouseMove", false);
pref("mozilla.widget.disable-native-theme", true);
pref("layers.enable-tiles", true);
pref("layers.low-precision-buffer", true);
pref("layers.low-precision-opacity", "0.5");
pref("layers.progressive-paint", true);

/* password manager */
pref("signon.rememberSignons", true);
Expand Down

0 comments on commit 6a24cd2

Please sign in to comment.