66 uint64_t predicted_display_time_ns;
67 uint64_t desired_present_time_ns;
68 uint64_t present_slop_ns;
139#define NULL_TRACE(c, ...) U_LOG_IFL_T(c->settings.log_level, __VA_ARGS__);
146#define NULL_DEBUG(c, ...) U_LOG_IFL_D(c->settings.log_level, __VA_ARGS__);
154#define NULL_INFO(c, ...) U_LOG_IFL_I(c->settings.log_level, __VA_ARGS__);
162#define NULL_WARN(c, ...) U_LOG_IFL_W(c->settings.log_level, __VA_ARGS__);
170#define NULL_ERROR(c, ...) U_LOG_IFL_E(c->settings.log_level, __VA_ARGS__);
Helper implementation for native compositors.
u_logging_level
Logging level enum.
Definition u_logging.h:45
A simple compositor base that handles a lot of things for you.
Definition comp_base.h:69
Tracking frame state.
Definition null_compositor.h:64
Main compositor struct tying everything in the compositor together.
Definition null_compositor.h:81
struct null_compositor::@103 frame
struct xrt_device * xdev
The device we are displaying to.
Definition null_compositor.h:85
uint64_t frame_interval_ns
Frame interval that we are using.
Definition null_compositor.h:98
struct u_pacing_compositor * upc
Pacing helper to drive us forward.
Definition null_compositor.h:91
struct xrt_view_config view_configs[XRT_MAX_COMPOSITOR_VIEW_CONFIGS_COUNT]
The supported view configurations.
Definition null_compositor.h:88
Compositor pacing helper interface.
Definition u_pacing.h:68
Common compositor client interface/base.
Definition xrt_compositor.h:1046
A single HMD or input device.
Definition xrt_device.h:318
Capabilities and information about the system compositor (and its wrapped native compositor,...
Definition xrt_compositor.h:2393
Definition xrt_compositor.h:2370
Basic logging functionality.
Header for xrt_instance object.