aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-04-15 18:06:58 -0400
committerJosh Matthews <josh@joshmatthews.net>2020-04-15 18:08:34 -0400
commit5fcb3c84d49b65972cf174aa3b33b4335298d5b3 (patch)
treed23bf6f2e9db56998a2d47a2d2d73bfce8f03ec7 /support
parenteb9e794729d2edd3d1bf0b832d3cf6ea8f126f5f (diff)
downloadservo-5fcb3c84d49b65972cf174aa3b33b4335298d5b3.tar.gz
servo-5fcb3c84d49b65972cf174aa3b33b4335298d5b3.zip
Depend on the preview OpenXR runtime for performance fixes.
Diffstat (limited to 'support')
-rw-r--r--support/hololens/ServoApp/Package.appxmanifest2
-rw-r--r--support/hololens/ServoApp/ServoControl/Servo.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/support/hololens/ServoApp/Package.appxmanifest b/support/hololens/ServoApp/Package.appxmanifest
index 5ada19983d7..26091d47f0a 100644
--- a/support/hololens/ServoApp/Package.appxmanifest
+++ b/support/hololens/ServoApp/Package.appxmanifest
@@ -9,7 +9,7 @@
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
- <PackageDependency Name="Microsoft.WindowsMixedReality.Runtime" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" MinVersion="0.0.1.0" />
+ <PackageDependency Name="Microsoft.WindowsMixedReality.Runtime" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" MinVersion="100.2004.3007.0"/>
</Dependencies>
<Resources>
<Resource Language="x-generate" />
diff --git a/support/hololens/ServoApp/ServoControl/Servo.cpp b/support/hololens/ServoApp/ServoControl/Servo.cpp
index 76753d0758f..5b59620bf05 100644
--- a/support/hololens/ServoApp/ServoControl/Servo.cpp
+++ b/support/hololens/ServoApp/ServoControl/Servo.cpp
@@ -109,6 +109,7 @@ const char *prompt_input(const char *message, const char *default,
Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height,
float dpi, ServoDelegate &aDelegate)
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {
+ SetEnvironmentVariableA("PreviewRuntimeEnabled", "1");
capi::CInitOptions o;
hstring defaultPrefs = L" --pref dom.webxr.enabled --devtools";