Monado OpenXR Runtime
|
Recording window gui. More...
Go to the source code of this file.
Data Structures | |
struct | gui_record_window |
Functions | |
bool | gui_window_record_init (struct gui_record_window *rw) |
Initialise a embeddable record window. More... | |
void | gui_window_record_render (struct gui_record_window *rw, struct gui_program *p) |
Renders all controls of a record window. More... | |
void | gui_window_record_to_background (struct gui_record_window *rw, struct gui_program *p) |
Draw the sink image as the background to the background of the render view. More... | |
void | gui_window_record_close (struct gui_record_window *rw) |
Frees all resources associated with a record window. More... | |
Recording window gui.
void gui_window_record_close | ( | struct gui_record_window * | rw | ) |
Frees all resources associated with a record window.
Make sure to only call this function on the main gui thread, and that nothing is pushing into the record windows sink.
References gstreamer_pipeline_stop(), os_mutex::os_mutex_destroy(), os_mutex::os_mutex_lock(), os_mutex::os_mutex_unlock(), and xrt_frame_context::xrt_frame_context_destroy_nodes().
bool gui_window_record_init | ( | struct gui_record_window * | rw | ) |
Initialise a embeddable record window.
References xrt_frame_sink::push_frame.
void gui_window_record_render | ( | struct gui_record_window * | rw, |
struct gui_program * | p | ||
) |
Renders all controls of a record window.
References gui_ogl_texture::gui_ogl_sink_update().
void gui_window_record_to_background | ( | struct gui_record_window * | rw, |
struct gui_program * | p | ||
) |
Draw the sink image as the background to the background of the render view.
Basically the main window in which all ImGui windows lives in, not to a ImGui window.
References gui_ogl_draw_background(), and gui_ogl_texture::gui_ogl_sink_update().