Monado OpenXR Runtime
|
Shared default implementation of the device with compositor. More...
#include "sdl_internal.h"
#include "math/m_mathinclude.h"
#include "util/u_device.h"
#include "util/u_distortion_mesh.h"
Functions | |
static void | sdl_hmd_get_tracked_pose (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_space_relation *out_relation) |
static void | sdl_hmd_destroy (struct xrt_device *xdev) |
void | sdl_device_init (struct sdl_program *sp) |
Init the xrt_device sub struct. More... | |
Shared default implementation of the device with compositor.
void sdl_device_init | ( | struct sdl_program * | sp | ) |
Init the xrt_device sub struct.
In sdl_device.c
References ARRAY_SIZE, xrt_device::hmd, sdl_program::hmd, xrt_device::input_count, xrt_device::inputs, sdl_program::inputs, xrt_device::name, sdl_program::origin, xrt_device::tracking_origin, and sdl_program::xdev_base.