mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
gfx/video_driver.h - add comments
This commit is contained in:
parent
e880a3b248
commit
ab325e54a1
@ -93,9 +93,12 @@ typedef struct video_info
|
|||||||
{
|
{
|
||||||
unsigned width;
|
unsigned width;
|
||||||
unsigned height;
|
unsigned height;
|
||||||
|
|
||||||
|
/* Launch in fullscreen mode instead of windowed mode. */
|
||||||
bool fullscreen;
|
bool fullscreen;
|
||||||
bool vsync;
|
bool vsync;
|
||||||
bool force_aspect;
|
bool force_aspect;
|
||||||
|
|
||||||
#ifdef GEKKO
|
#ifdef GEKKO
|
||||||
/* TODO - we can't really have driver system-specific
|
/* TODO - we can't really have driver system-specific
|
||||||
* variables in here. There should be some
|
* variables in here. There should be some
|
||||||
@ -107,11 +110,14 @@ typedef struct video_info
|
|||||||
unsigned viwidth;
|
unsigned viwidth;
|
||||||
bool vfilter;
|
bool vfilter;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If true, applies bilinear filtering to the image,
|
/* If true, applies bilinear filtering to the image,
|
||||||
* otherwise nearest filtering. */
|
* otherwise nearest filtering. */
|
||||||
bool smooth;
|
bool smooth;
|
||||||
|
|
||||||
/* Maximum input size: RARCH_SCALE_BASE * input_scale */
|
/* Maximum input size: RARCH_SCALE_BASE * input_scale */
|
||||||
unsigned input_scale;
|
unsigned input_scale;
|
||||||
|
|
||||||
/* Use 32bit RGBA rather than native RGB565/XBGR1555. */
|
/* Use 32bit RGBA rather than native RGB565/XBGR1555. */
|
||||||
bool rgb32;
|
bool rgb32;
|
||||||
} video_info_t;
|
} video_info_t;
|
||||||
@ -135,8 +141,13 @@ typedef struct video_poke_interface
|
|||||||
void (*set_filtering)(void *data, unsigned index, bool smooth);
|
void (*set_filtering)(void *data, unsigned index, bool smooth);
|
||||||
void (*get_video_output_size)(void *data,
|
void (*get_video_output_size)(void *data,
|
||||||
unsigned *width, unsigned *height);
|
unsigned *width, unsigned *height);
|
||||||
|
|
||||||
|
/* Move index to previous resolution */
|
||||||
void (*get_video_output_prev)(void *data);
|
void (*get_video_output_prev)(void *data);
|
||||||
|
|
||||||
|
/* Move index to next resolution */
|
||||||
void (*get_video_output_next)(void *data);
|
void (*get_video_output_next)(void *data);
|
||||||
|
|
||||||
uintptr_t (*get_current_framebuffer)(void *data);
|
uintptr_t (*get_current_framebuffer)(void *data);
|
||||||
retro_proc_address_t (*get_proc_address)(void *data, const char *sym);
|
retro_proc_address_t (*get_proc_address)(void *data, const char *sym);
|
||||||
void (*set_aspect_ratio)(void *data, unsigned aspectratio_index);
|
void (*set_aspect_ratio)(void *data, unsigned aspectratio_index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user