96XRT_NONNULL_ALL
static inline void
100 if (xainst == NULL) {
151XRT_NONNULL_ALL
static inline void
enum xrt_result xrt_result_t
Result type used across Monado.
This interface acts as a way to store per-application policy for xrt_instance.
Definition xrt_app_policy.h:34
void(* destroy)(struct xrt_app_instance *xainst)
Destroy the application instance and its owned objects.
Definition xrt_app_policy.h:67
static XRT_NONNULL_ALL xrt_result_t xrt_app_instance_create_app_system(struct xrt_app_instance *xainst, struct xrt_system *xsys, struct xrt_app_system **out_xasys)
Creates an application system from the passed system.
Definition xrt_app_policy.h:82
xrt_result_t(* create_app_system)(struct xrt_app_instance *xainst, struct xrt_system *xsys, struct xrt_app_system **out_xasys)
Creates an application system from the passed system.
Definition xrt_app_policy.h:56
static XRT_NONNULL_ALL void xrt_app_instance_destroy(struct xrt_app_instance **xainst_ptr)
Destroy the application instance and its owned objects.
Definition xrt_app_policy.h:97
This interface acts as a way to store per-application policy for xrt_system.
Definition xrt_app_policy.h:120
static XRT_NONNULL_ALL void xrt_app_system_destroy(struct xrt_app_system **xasys_ptr)
Destroy the application system and its owned objects.
Definition xrt_app_policy.h:152
void(* destroy)(struct xrt_app_system *xasys)
Destroy the application system and its owned objects.
Definition xrt_app_policy.h:137
A system is a collection of devices, policies and optionally a compositor that is organised into a ch...
Definition xrt_system.h:65
Common defines and enums for XRT.