Monado OpenXR Runtime
sdl_program.cpp File Reference

C++ program part for the SDL test. More...

#include "ogl/ogl_api.h"
#include "util/u_misc.h"
#include "sdl_internal.hpp"
Include dependency graph for sdl_program.cpp:

Functions

void sdl_create_window (struct sdl_program *sp)
 
struct sdl_programsdl_program_plus_create ()
 Create the SDL program. More...
 
void sdl_program_plus_render (struct sdl_program_plus *spp_ptr)
 Render a frame, called by the compositor when layers have been committed. More...
 
void sdl_program_plus_destroy (struct sdl_program_plus *spp)
 Destroy the SDL program. More...
 

Detailed Description

C++ program part for the SDL test.

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

Function Documentation

◆ sdl_program_plus_create()

◆ sdl_program_plus_destroy()

void sdl_program_plus_destroy ( struct sdl_program_plus spp)

Destroy the SDL program.

References sdl_program::current_mutex, os_mutex::os_mutex_destroy(), and sdl_program::spp.

◆ sdl_program_plus_render()

void sdl_program_plus_render ( struct sdl_program_plus spp_ptr)