You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
Supporting devices that require code to run on the main thread #52
Currently the API has no concept of the "main thread" of an application, and assumes that VRServiceManager::new() and VRServiceManager::register_defaults() can be safely called from any thread (in servo, they're called from the WebVRThread). This has a mismatch with devices (such as MagicLeap) which have a main thread, and where the APIs to access the device capabilities aren't thread-safe.
changed the title [-]Supporting devices that require initialization on the main thread[/-][+]Supporting devices that require code to run on the main thread[/+]on Feb 25, 2019
Activity
[-]Supporting devices that require initialization on the main thread[/-][+]Supporting devices that require code to run on the main thread[/+]asajeffrey commentedon Feb 25, 2019
An attempt at doing this... https://github.com/asajeffrey/rust-webvr/blob/glwindow/rust-webvr-api/src/vr_main_thread_heartbeat.rs.
asajeffrey commentedon Feb 25, 2019
This is also needed when rendering to a window on MacOS, which requires windows to live on the main thread. https://github.com/asajeffrey/rust-webvr/blob/glwindow/rust-webvr/src/api/glwindow/heartbeat.rs
Auto merge of #66 - asajeffrey:glwindow, r=paulrouget