зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1516554 - Enable VR process in Nightly Windows. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15434 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d217fb09a2
Коммит
6fccd31719
|
@ -378,7 +378,11 @@ class gfxPrefs final {
|
|||
DECL_GFX_PREF(Once, "dom.vr.enabled", VREnabled, bool, false);
|
||||
DECL_GFX_PREF(Live, "dom.vr.autoactivate.enabled", VRAutoActivateEnabled, bool, false);
|
||||
DECL_GFX_PREF(Live, "dom.vr.controller_trigger_threshold", VRControllerTriggerThreshold, float, 0.1f);
|
||||
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
|
||||
DECL_GFX_PREF(Once, "dom.vr.external.enabled", VRExternalEnabled, bool, true);
|
||||
#else
|
||||
DECL_GFX_PREF(Once, "dom.vr.external.enabled", VRExternalEnabled, bool, false);
|
||||
#endif
|
||||
DECL_GFX_PREF(Live, "dom.vr.external.notdetected.timeout", VRExternalNotDetectedTimeout, int32_t, 60000);
|
||||
DECL_GFX_PREF(Live, "dom.vr.external.quit.timeout", VRExternalQuitTimeout, int32_t, 10000);
|
||||
DECL_GFX_PREF(Live, "dom.vr.navigation.timeout", VRNavigationTimeout, int32_t, 1000);
|
||||
|
@ -401,7 +405,11 @@ class gfxPrefs final {
|
|||
DECL_GFX_PREF(Live, "dom.vr.puppet.enabled", VRPuppetEnabled, bool, false);
|
||||
DECL_GFX_PREF(Live, "dom.vr.puppet.submitframe", VRPuppetSubmitFrame, uint32_t, 0);
|
||||
DECL_GFX_PREF(Live, "dom.vr.display.rafMaxDuration", VRDisplayRafMaxDuration, uint32_t, 50);
|
||||
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
|
||||
DECL_GFX_PREF(Once, "dom.vr.process.enabled", VRProcessEnabled, bool, true);
|
||||
#else
|
||||
DECL_GFX_PREF(Once, "dom.vr.process.enabled", VRProcessEnabled, bool, false);
|
||||
#endif
|
||||
DECL_GFX_PREF(Once, "dom.vr.service.enabled", VRServiceEnabled, bool, true);
|
||||
DECL_GFX_PREF(Live, "dom.w3c_pointer_events.enabled", PointerEventsEnabled, bool, false);
|
||||
|
||||
|
|
|
@ -5325,7 +5325,11 @@ pref("dom.vr.autoactivate.enabled", false);
|
|||
// The threshold value of trigger inputs for VR controllers
|
||||
pref("dom.vr.controller_trigger_threshold", "0.1");
|
||||
// Enable external XR API integrations
|
||||
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
|
||||
pref("dom.vr.external.enabled", true);
|
||||
#else
|
||||
pref("dom.vr.external.enabled", false);
|
||||
#endif
|
||||
// Minimum number of milliseconds the browser will wait before attempting
|
||||
// to re-start the VR service after an enumeration returned no devices.
|
||||
pref("dom.vr.external.notdetected.timeout", 60000);
|
||||
|
@ -5413,8 +5417,8 @@ pref("dom.vr.poseprediction.enabled", true);
|
|||
// tests or in a headless kiosk system.
|
||||
pref("dom.vr.require-gesture", true);
|
||||
// Enable a separate process for VR module.
|
||||
#if defined(XP_WIN)
|
||||
pref("dom.vr.process.enabled", false);
|
||||
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
|
||||
pref("dom.vr.process.enabled", true);
|
||||
#endif
|
||||
// Puppet device, used for simulating VR hardware within tests and dev tools
|
||||
pref("dom.vr.puppet.enabled", false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче