|
Monado OpenXR Runtime
|
C++ program part for the SDL test. More...

Functions | |
| void | sdl_create_window (struct sdl_program *sp) |
| struct sdl_program * | sdl_program_plus_create () |
| Create the SDL program. | |
| void | sdl_program_plus_render (struct sdl_program_plus *spp_ptr) |
| Render a frame, called by the compositor when layers have been committed. | |
| void | sdl_program_plus_destroy (struct sdl_program_plus *spp) |
| Destroy the SDL program. | |
C++ program part for the SDL test.
| struct sdl_program * sdl_program_plus_create | ( | void | ) |
Create the SDL program.
References sdl_program::current_mutex, sdl_program::log_level, sdl_program::pose, sdl_compositor_init(), sdl_device_init(), sdl_instance_init(), sdl_system_devices_init(), sdl_system_init(), sdl_program::spp, and U_LOGGING_INFO.
| void sdl_program_plus_destroy | ( | struct sdl_program_plus * | spp | ) |
Destroy the SDL program.
References sdl_program::current_mutex, and sdl_program::spp.
| void sdl_program_plus_render | ( | struct sdl_program_plus * | spp_ptr | ) |
Render a frame, called by the compositor when layers have been committed.
References sdl_compositor::base, sdl_program::c, CHECK_GL, comp_layer::data, comp_base::layer_accum, comp_layer_accum::layer_count, comp_layer_accum::layers, comp_layer::sc_array, sdl_make_current(), sdl_make_uncurrent(), sdl_program::spp, xrt_layer_data::type, and sdl_program::win.