зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1729580 - Remove unused `layers.***` pref more. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D124866
This commit is contained in:
Родитель
e8a10a0950
Коммит
1b25bc2c77
|
@ -390,12 +390,6 @@ pref("apz.touch_move_tolerance", "0.03");
|
|||
pref("apz.touch_start_tolerance", "0.06");
|
||||
|
||||
pref("layers.low-precision-buffer", true);
|
||||
// We want to limit layers for two reasons:
|
||||
// 1) We can't scroll smoothly if we have to many draw calls
|
||||
// 2) Pages that have too many layers consume too much memory and crash.
|
||||
// By limiting the number of layers on mobile we're making the main thread
|
||||
// work harder keep scrolling smooth and memory low.
|
||||
pref("layers.max-active", 20);
|
||||
|
||||
pref("notification.feature.enabled", true);
|
||||
|
||||
|
|
|
@ -6387,16 +6387,6 @@
|
|||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.compositing-tiles.width
|
||||
type: RelaxedAtomicInt32
|
||||
value: 1024
|
||||
mirror: always
|
||||
|
||||
- name: layers.compositing-tiles.height
|
||||
type: RelaxedAtomicInt32
|
||||
value: 1024
|
||||
mirror: always
|
||||
|
||||
# 0 is "no change" for contrast, positive values increase it, negative values
|
||||
# decrease it until we hit mid gray at -1 contrast, after that it gets weird.
|
||||
- name: layers.effect.contrast
|
||||
|
@ -6545,23 +6535,11 @@
|
|||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.low-precision-opacity
|
||||
type: AtomicFloat
|
||||
value: 1.0f
|
||||
mirror: always
|
||||
|
||||
- name: layers.low-precision-resolution
|
||||
type: AtomicFloat
|
||||
value: 0.25f
|
||||
mirror: always
|
||||
|
||||
# Max number of layers per container. See Overwrite in mobile prefs.
|
||||
- name: layers.max-active
|
||||
type: RelaxedAtomicInt32
|
||||
value: -1
|
||||
mirror: always
|
||||
|
||||
|
||||
# Whether to animate simple opacity and transforms on the compositor.
|
||||
- name: layers.offmainthreadcomposition.async-animations
|
||||
type: bool
|
||||
|
@ -6588,11 +6566,6 @@
|
|||
value: -1
|
||||
mirror: always
|
||||
|
||||
- name: layers.orientation.sync.timeout
|
||||
type: RelaxedAtomicUint32
|
||||
value: (uint32_t)0
|
||||
mirror: always
|
||||
|
||||
#ifdef XP_WIN
|
||||
- name: layers.prefer-opengl
|
||||
type: bool
|
||||
|
@ -6630,36 +6603,6 @@
|
|||
value: true
|
||||
mirror: once
|
||||
|
||||
- name: layers.tiles.edge-padding
|
||||
type: bool
|
||||
value: @IS_ANDROID@
|
||||
mirror: once
|
||||
|
||||
- name: layers.tiles.fade-in.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
- name: layers.tiles.fade-in.duration-ms
|
||||
type: RelaxedAtomicUint32
|
||||
value: 250
|
||||
mirror: always
|
||||
|
||||
- name: layers.tiles.retain-back-buffer
|
||||
type: RelaxedAtomicBool
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
- name: layers.transaction.warning-ms
|
||||
type: RelaxedAtomicUint32
|
||||
value: 200
|
||||
mirror: always
|
||||
|
||||
- name: layers.uniformity-info
|
||||
type: bool
|
||||
value: false
|
||||
mirror: once
|
||||
|
||||
- name: layers.recycle-allocator-rdd
|
||||
type: bool
|
||||
value: true
|
||||
|
|
Загрузка…
Ссылка в новой задаче