|
static bool | should_render (XrSessionState state) |
|
static XRT_MAYBE_UNUSED const char * | to_string (XrSessionState state) |
|
static XrResult | handle_reference_space_change_pending (struct oxr_logger *log, struct oxr_session *sess, struct xrt_session_event_reference_space_change_pending *ref_change) |
|
void | oxr_session_change_state (struct oxr_logger *log, struct oxr_session *sess, XrSessionState state, XrTime time) |
| Change the state of the session, queues a event. More...
|
|
XrResult | oxr_session_enumerate_formats (struct oxr_logger *log, struct oxr_session *sess, uint32_t formatCapacityInput, uint32_t *formatCountOutput, int64_t *formats) |
|
XrResult | oxr_session_begin (struct oxr_logger *log, struct oxr_session *sess, const XrSessionBeginInfo *beginInfo) |
|
XrResult | oxr_session_end (struct oxr_logger *log, struct oxr_session *sess) |
|
XrResult | oxr_session_request_exit (struct oxr_logger *log, struct oxr_session *sess) |
|
XrResult | oxr_session_poll (struct oxr_logger *log, struct oxr_session *sess) |
|
static XrViewStateFlags | xrt_to_view_state_flags (enum xrt_space_relation_flags flags) |
|
static void | adjust_fov (const struct xrt_fov *original_fov, const struct xrt_quat *original_rotation, struct xrt_fov *adjusted_fov) |
|
XrResult | oxr_session_locate_views (struct oxr_logger *log, struct oxr_session *sess, const XrViewLocateInfo *viewLocateInfo, XrViewState *viewState, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrView *views) |
|
static double | ns_to_ms (int64_t ns) |
|
static double | ts_ms (struct oxr_session *sess) |
|
static XrResult | do_wait_frame_and_checks (struct oxr_logger *log, struct oxr_session *sess, int64_t *out_frame_id, int64_t *out_predicted_display_time, int64_t *out_predicted_display_period, XrTime *out_converted_time) |
|
XrResult | oxr_session_frame_wait (struct oxr_logger *log, struct oxr_session *sess, XrFrameState *frameState) |
|
XrResult | oxr_session_frame_begin (struct oxr_logger *log, struct oxr_session *sess) |
|
static XrResult | oxr_session_destroy (struct oxr_logger *log, struct oxr_handle_base *hb) |
|
static XrResult | oxr_session_allocate_and_init (struct oxr_logger *log, struct oxr_system *sys, enum oxr_session_graphics_ext gfx_ext, struct oxr_session **out_session) |
|
static XrResult | oxr_session_create_impl (struct oxr_logger *log, struct oxr_system *sys, const XrSessionCreateInfo *createInfo, const struct xrt_session_info *xsi, struct oxr_session **out_session) |
|
XrResult | oxr_session_create (struct oxr_logger *log, struct oxr_system *sys, const XrSessionCreateInfo *createInfo, struct oxr_session **out_session) |
|
void | xrt_to_xr_pose (struct xrt_pose *xrt_pose, XrPosef *xr_pose) |
|
XrResult | oxr_session_hand_joints (struct oxr_logger *log, struct oxr_hand_tracker *hand_tracker, const XrHandJointsLocateInfoEXT *locateInfo, XrHandJointLocationsEXT *locations) |
|
XrResult | oxr_get_base_body_pose (struct oxr_logger *log, const struct xrt_body_joint_set *body_joint_set, struct oxr_space *base_spc, struct xrt_device *body_xdev, XrTime at_time, struct xrt_space_relation *out_base_body) |
|
static enum xrt_output_name | xr_hand_to_force_feedback_output (XrHandEXT hand) |
|
XrResult | oxr_session_apply_force_feedback (struct oxr_logger *log, struct oxr_hand_tracker *hand_tracker, const XrForceFeedbackCurlApplyLocationsMNDX *locations) |
|