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.
cmake -B build
cmake --build build --config ReleaseThe build artifacts will be written under build/bin:
ox_runtime.dll/libox_runtime.so/libox_runtime.dylibox_runtime.json
cmake --build build --target runtime_tests --config ReleaseThe runtime tests use injected mock driver bindings. They do not require the ox host process or ipc proxy.
Driver loading resolves in the following order (at runtime):
- An already injected test driver.
- The
OX_RUNTIME_DRIVERenvironment variable. OX_USE_SIMULATOR=1fallback to the simulator driver (installed at./drivers/simulator).- ox_ipc_client as the default driver (which connects to the
oxprocess).