зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1404181 - Part 12: Add pref for retained display lists (starting with it disabled). r=mstange
MozReview-Commit-ID: FgASuaoYMuc --HG-- extra : rebase_source : af1bfd3bb4be63aa6f6c27629b91c1aae924ad20
This commit is contained in:
Родитель
0488542fd6
Коммит
983bb1b63a
|
@ -662,6 +662,7 @@ private:
|
|||
DECL_GFX_PREF(Live, "layout.css.scroll-snap.prediction-sensitivity", ScrollSnapPredictionSensitivity, float, 0.750f);
|
||||
DECL_GFX_PREF(Live, "layout.css.scroll-snap.proximity-threshold", ScrollSnapProximityThreshold, int32_t, 200);
|
||||
DECL_GFX_PREF(Live, "layout.css.touch_action.enabled", TouchActionEnabled, bool, false);
|
||||
DECL_GFX_PREF(Live, "layout.display-list.retain", LayoutRetainDisplayList, bool, true);
|
||||
DECL_GFX_PREF(Live, "layout.display-list.dump", LayoutDumpDisplayList, bool, false);
|
||||
DECL_GFX_PREF(Live, "layout.display-list.dump-content", LayoutDumpDisplayListContent, bool, false);
|
||||
DECL_GFX_PREF(Live, "layout.display-list.dump-parent", LayoutDumpDisplayListParent, bool, false);
|
||||
|
|
|
@ -3132,6 +3132,13 @@ pref("layout.display-list.dump", false);
|
|||
pref("layout.display-list.dump-content", false);
|
||||
pref("layout.display-list.dump-parent", false);
|
||||
|
||||
// Toggle retaining display lists between paints
|
||||
#ifdef ANDROID
|
||||
pref("layout.display-list.retain", false);
|
||||
#else
|
||||
pref("layout.display-list.retain", false);
|
||||
#endif
|
||||
|
||||
// pref to control whether layout warnings that are hit quite often are enabled
|
||||
pref("layout.spammy_warnings.enabled", false);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче