void gui_scene_main_menu(struct gui_program *p)
Shows the main menu.
Definition: gui_scene_main_menu.c:67
Definition: gui_scene.cpp:16
void gui_scene_manager_render(struct gui_program *p)
Render the scenes.
Definition: gui_scene.cpp:64
bool half
Definition: gui_common.h:78
struct time_state * timekeeping
Definition: gui_common.h:49
void * ptr
Definition: gui_common.h:80
A object that is sent frames.
Definition: xrt_frame.h:51
struct gui_ogl_texture * gui_ogl_sink_create(const char *name, struct xrt_frame_context *xfctx, struct xrt_frame_sink **out_sink)
Create a sink that will turn frames into OpenGL textures, since the frame can come from another threa...
Definition: gui_ogl.c:138
void gui_scene_delete_me(struct gui_program *p, struct gui_scene *me)
Put a scene on the delete list, also removes it from any other list.
Definition: gui_scene.cpp:45
#define NUM_XDEVS
Definition: gui_common.h:26
struct xrt_device * xdevs[NUM_XDEVS]
Definition: gui_common.h:50
uint64_t dropped
Definition: gui_common.h:74
A single currently running scene.
Definition: gui_common.h:60
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition: xrt_prober.h:153
void gui_scene_calibrate(struct gui_program *p, struct xrt_frame_context *xfctx, struct xrt_fs *xfs, struct xrt_settings_tracking *s)
Given the frameserver runs the calibration code on it.
Definition: gui_scene_calibrate.c:409
A gui program.
Definition: gui_common.h:43
void gui_prober_update(struct gui_program *p)
Update all devices.
Definition: gui_prober.c:71
Time-keeping state structure.
Definition: u_time.cpp:46
uint32_t id
Definition: gui_common.h:77
void gui_scene_push_front(struct gui_program *p, struct gui_scene *me)
Push the scene to the top of the lists.
Definition: gui_scene.cpp:24
uint32_t w
Definition: gui_common.h:76
Object used to track all sinks and frame producers in a graph.
Definition: xrt_frame.h:87
void gui_ogl_sink_update(struct gui_ogl_texture *)
Update the texture to the latest received frame.
Definition: gui_ogl.c:94
int gui_prober_select(struct gui_program *p)
Create devices.
Definition: gui_prober.c:57
size_t num_texs
Definition: gui_common.h:54
bool stopped
Definition: gui_common.h:45
void gui_scene_manager_init(struct gui_program *p)
Initialize the scene manager.
Definition: gui_scene.cpp:86
Holding enough information to recreate a tracking pipeline.
Definition: xrt_settings.h:42
A OpenGL texture.
Definition: gui_common.h:71
Header holding common defines.
const char * name
Definition: gui_common.h:75
struct xrt_prober * xp
Definition: gui_common.h:51
int gui_prober_init(struct gui_program *p)
Initialize the prober and open all devices found.
Definition: gui_prober.c:35
void gui_scene_debug(struct gui_program *p)
Regular debug UI.
Definition: gui_scene_debug.c:373
uint64_t seq
Definition: gui_common.h:73
A single HMD or input device.
Definition: xrt_device.h:202
void gui_scene_manager_destroy(struct gui_program *p)
Destroy the scene manager.
Definition: gui_scene.cpp:92
void gui_scene_select_video_calibrate(struct gui_program *p)
Shows a UI that lets you select a video device and mode for calibration.
Definition: gui_scene_video.c:171
struct gui_ogl_texture * texs[256]
Definition: gui_common.h:53
void gui_prober_teardown(struct gui_program *p)
Destroy all opened devices and destroy the prober.
Definition: gui_prober.c:90
Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one...
Definition: xrt_frameserver.h:51
struct gui_scene_manager * gsm
Definition: gui_common.h:47