Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox-runtime

ox-runtime is an implementation of the OpenXR Runtime specification, built for ox.

It implements the logic of an OpenXR runtime (as defined in the spec), and delegates to a driver implementation (to talk to the underlying XR hardware).

Warning

WORK-IN-PROGRESS - This is still heavily under-development and is not (yet) fully compliant with the OpenXR spec.

Build

cmake -B build
cmake --build build --config Release

The build artifacts will be written under build/bin:

  • ox_runtime.dll/libox_runtime.so/libox_runtime.dylib
  • ox_runtime.json

Test

cmake --build build --target runtime_tests --config Release

The runtime tests use injected mock driver bindings. They do not require the ox host process or ipc proxy.

Runtime Driver Resolution

Driver loading resolves in the following order (at runtime):

  1. An already injected test driver.
  2. The OX_RUNTIME_DRIVER environment variable.
  3. OX_USE_SIMULATOR=1 fallback to the simulator driver (installed at ./drivers/simulator).
  4. ox_ipc_client as the default driver (which connects to the ox process).

References

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages