зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1722055 - Rename gfx.webrender.force-disabled. r=aosmond
Change the pref name in anticipation of removing it completely to see what the fallout will be. Differential Revision: https://phabricator.services.mozilla.com/D120735
This commit is contained in:
Родитель
9ddb8fe28a
Коммит
1194fe927f
|
@ -30,7 +30,7 @@ void gfxConfigManager::Init() {
|
|||
|
||||
EmplaceUserPref("gfx.webrender.compositor", mWrCompositorEnabled);
|
||||
mWrForceEnabled = gfxPlatform::WebRenderPrefEnabled();
|
||||
mWrForceDisabled = StaticPrefs::gfx_webrender_force_disabled_AtStartup();
|
||||
mWrForceDisabled = StaticPrefs::gfx_webrender_force_legacy_layers_AtStartup();
|
||||
mWrSoftwareForceEnabled = StaticPrefs::gfx_webrender_software_AtStartup();
|
||||
mWrCompositorForceEnabled =
|
||||
StaticPrefs::gfx_webrender_compositor_force_enabled_AtStartup();
|
||||
|
|
|
@ -5024,7 +5024,7 @@
|
|||
# Also expose a pref to allow users to force-disable WR. This is exposed
|
||||
# on all channels because WR can be enabled on qualified hardware on all
|
||||
# channels.
|
||||
- name: gfx.webrender.force-disabled
|
||||
- name: gfx.webrender.force-legacy-layers
|
||||
type: bool
|
||||
value: false
|
||||
mirror: once
|
||||
|
|
|
@ -27,7 +27,7 @@ const DISABLE_VIDEO_PREF = "media.hardware-video-decoding.failed";
|
|||
const RUNNING_PREF = "sanity-test.running";
|
||||
const TIMEOUT_SEC = 20;
|
||||
|
||||
const WR_DISABLED_PREF = "gfx.webrender.force-disabled";
|
||||
const WR_DISABLED_PREF = "gfx.webrender.force-legacy-layers";
|
||||
|
||||
// GRAPHICS_SANITY_TEST histogram enumeration values
|
||||
const TEST_PASSED = 0;
|
||||
|
|
|
@ -289,7 +289,7 @@ const DEFAULT_ENVIRONMENT_PREFS = new Map([
|
|||
["gfx.direct2d.force-enabled", { what: RECORD_PREF_VALUE }],
|
||||
["gfx.webrender.all", { what: RECORD_PREF_VALUE }],
|
||||
["gfx.webrender.all.qualified", { what: RECORD_PREF_VALUE }],
|
||||
["gfx.webrender.force-disabled", { what: RECORD_PREF_VALUE }],
|
||||
["gfx.webrender.force-legacy-layers", { what: RECORD_PREF_VALUE }],
|
||||
["layers.acceleration.disabled", { what: RECORD_PREF_VALUE }],
|
||||
["layers.acceleration.force-enabled", { what: RECORD_PREF_VALUE }],
|
||||
["layers.async-pan-zoom.enabled", { what: RECORD_PREF_VALUE }],
|
||||
|
|
Загрузка…
Ссылка в новой задаче