Monado OpenXR Runtime
gui_scene_video.c File Reference

A very small scene that lets the user select a video device. More...

#include "xrt/xrt_prober.h"
#include "xrt/xrt_settings.h"
#include "xrt/xrt_frameserver.h"
#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_config_os.h"
#include "util/u_misc.h"
#include "util/u_format.h"
#include "util/u_logging.h"
#include "gui_common.h"
#include "gui_imgui.h"
Include dependency graph for gui_scene_video.c:

Data Structures

struct  video_select
 A GUI scene that lets the user select a user device. More...
 

Functions

static void on_video_device (struct xrt_prober *xp, struct xrt_prober_device *pdev, const char *product, const char *manufacturer, const char *serial, void *ptr)
 
static bool render_mode (struct xrt_fs_mode *mode)
 
void mode_selected_so_continue (struct gui_scene *scene, struct gui_program *p)
 
static void scene_render (struct gui_scene *scene, struct gui_program *p)
 
static void scene_destroy (struct gui_scene *scene, struct gui_program *p)
 
static struct video_selectcreate (void)
 
void gui_scene_select_video_calibrate (struct gui_program *p)
 Shows a UI that lets you select a video device and mode for calibration. More...
 

Variables

static ImVec2 button_dims = {256 + 64, 0}
 

Detailed Description

A very small scene that lets the user select a video device.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m