SDL_Libretro
SDL3-power libretro frontend.
Loading...
Searching...
No Matches
Functions
SDL_libretro_video.h File Reference

SDL_libretro - Video System. More...

Go to the source code of this file.

Functions

SDL_Surface * SDL_Libretro_CreateSurface (const SDL_Libretro *lr)
 Creates a new surface from the current libretro context.
 
float SDL_Libretro_GetAspectRatio (const SDL_Libretro *lr)
 Gets the aspect ratio for the libretro context.
 
SDL_Renderer * SDL_Libretro_GetRenderer (const SDL_Libretro *lr)
 Get the renderer the context draws into.
 
void SDL_Libretro_GetSize (const SDL_Libretro *lr, int *w, int *h)
 Gets the width and heigh tof the given libretro context.
 
bool SDL_Libretro_Render (SDL_Renderer *renderer, SDL_Libretro *lr, const SDL_FRect *dstRect)
 Render the libretro context in the given renderer.
 
void SDL_Libretro_SetFitMode (SDL_Libretro *lr, SDL_LibretroFitMode mode)
 Sets the desired scale mode for the libretro context when it's displayed.
 
bool SDL_Libretro_SetRenderer (SDL_Libretro *lr, SDL_Renderer *renderer)
 Set the renderer the libretro context draws into.
 

Detailed Description

SDL_libretro - Video System.

Definition in file SDL_libretro_video.h.