Monado OpenXR Runtime
|
Holds session related functions. More...
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
#include "util/u_debug.h"
#include "util/u_misc.h"
#include "util/u_time.h"
#include "math/m_api.h"
#include "xrt/xrt_device.h"
#include "xrt/xrt_gfx_xlib.h"
#include "xrt/xrt_gfx_vk.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_two_call.h"
#include "oxr_handle.h"
#include "oxr_chain.h"
Macros | |
#define | OXR_SESSION_ALLOCATE(LOG, SYS, OUT) |
Functions | |
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) |
void | oxr_session_poll (struct oxr_session *sess) |
XrResult | oxr_session_get_view_pose_at (struct oxr_logger *log, struct oxr_session *sess, XrTime at_time, struct xrt_pose *pose) |
Get the view space position at the given time in relation to the local or stage space. More... | |
void | print_view_fov (struct oxr_session *sess, uint32_t index, const struct xrt_fov *fov) |
void | print_view_pose (struct oxr_session *sess, uint32_t index, const struct xrt_pose *pose) |
XrResult | oxr_session_views (struct oxr_logger *log, struct oxr_session *sess, const XrViewLocateInfo *viewLocateInfo, XrViewState *viewState, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrView *views) |
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) |
XrResult | oxr_session_frame_end (struct oxr_logger *log, struct oxr_session *sess, const XrFrameEndInfo *frameEndInfo) |
XrResult | oxr_session_create (struct oxr_logger *log, struct oxr_system *sys, const XrSessionCreateInfo *createInfo, struct oxr_session **out_session) |
Holds session related functions.
#define OXR_SESSION_ALLOCATE | ( | LOG, | |
SYS, | |||
OUT | |||
) |
void print_view_fov | ( | struct oxr_session * | sess, |
uint32_t | index, | ||
const struct xrt_fov * | fov | ||
) |
void print_view_pose | ( | struct oxr_session * | sess, |
uint32_t | index, | ||
const struct xrt_pose * | pose | ||
) |