RetroArch
Functions | Variables
gdi_gfx.c File Reference
#include <retro_miscellaneous.h>
#include <formats/image.h>
#include "../font_driver.h"
#include "../../driver.h"
#include "../../configuration.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../frontend/frontend_driver.h"
#include "../common/gdi_common.h"
Include dependency graph for gdi_gfx.c:

Functions

static void gdi_gfx_create (void)
 
static voidgdi_gfx_init (const video_info_t *video, const input_driver_t **input, void **input_data)
 
static bool gdi_gfx_frame (void *data, const void *frame, unsigned frame_width, unsigned frame_height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
 
static void gdi_gfx_set_nonblock_state (void *data, bool toggle)
 
static bool gdi_gfx_alive (void *data)
 
static bool gdi_gfx_focus (void *data)
 
static bool gdi_gfx_suppress_screensaver (void *data, bool enable)
 
static bool gdi_gfx_has_windowed (void *data)
 
static void gdi_gfx_free (void *data)
 
static bool gdi_gfx_set_shader (void *data, enum rarch_shader_type type, const char *path)
 
static void gdi_gfx_set_rotation (void *data, unsigned rotation)
 
static void gdi_gfx_viewport_info (void *data, struct video_viewport *vp)
 
static bool gdi_gfx_read_viewport (void *data, uint8_t *buffer, bool is_idle)
 
static void gdi_set_texture_frame (void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
 
static void gdi_set_osd_msg (void *data, video_frame_info_t *video_info, const char *msg, const void *params, void *font)
 
static void gdi_get_video_output_size (void *data, unsigned *width, unsigned *height)
 
static void gdi_get_video_output_prev (void *data)
 
static void gdi_get_video_output_next (void *data)
 
static void gdi_set_video_mode (void *data, unsigned width, unsigned height, bool fullscreen)
 
static uintptr_t gdi_load_texture (void *video_data, void *data, bool threaded, enum texture_filter_type filter_type)
 
static void gdi_unload_texture (void *data, uintptr_t handle)
 
static void gdi_gfx_get_poke_interface (void *data, const video_poke_interface_t **iface)
 
static void gdi_gfx_set_viewport (void *data, unsigned viewport_width, unsigned viewport_height, bool force_full, bool allow_rotate)
 
bool gdi_has_menu_frame (void)
 

Variables

static unsigned char * gdi_menu_frame = NULL
 
static unsigned gdi_menu_width = 0
 
static unsigned gdi_menu_height = 0
 
static unsigned gdi_menu_pitch = 0
 
static unsigned gdi_video_width = 0
 
static unsigned gdi_video_height = 0
 
static unsigned gdi_video_pitch = 0
 
static unsigned gdi_video_bits = 0
 
static unsigned gdi_menu_bits = 0
 
static bool gdi_rgb32 = false
 
static bool gdi_menu_rgb32 = false
 
static int gdi_win_major = 0
 
static int gdi_win_minor = 0
 
static bool gdi_lte_win98 = false
 
static unsigned short * gdi_temp_buf = NULL
 
static const video_poke_interface_t gdi_poke_interface
 
video_driver_t video_gdi
 

Function Documentation

◆ gdi_get_video_output_next()

static void gdi_get_video_output_next ( void data)
static
Here is the call graph for this function:

◆ gdi_get_video_output_prev()

static void gdi_get_video_output_prev ( void data)
static
Here is the call graph for this function:

◆ gdi_get_video_output_size()

static void gdi_get_video_output_size ( void data,
unsigned *  width,
unsigned *  height 
)
static
Here is the call graph for this function:

◆ gdi_gfx_alive()

static bool gdi_gfx_alive ( void data)
static
Here is the call graph for this function:

◆ gdi_gfx_create()

static void gdi_gfx_create ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdi_gfx_focus()

static bool gdi_gfx_focus ( void data)
static
Here is the call graph for this function:

◆ gdi_gfx_frame()

static bool gdi_gfx_frame ( void data,
const void frame,
unsigned  frame_width,
unsigned  frame_height,
uint64_t  frame_count,
unsigned  pitch,
const char *  msg,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ gdi_gfx_free()

static void gdi_gfx_free ( void data)
static
Here is the call graph for this function:

◆ gdi_gfx_get_poke_interface()

static void gdi_gfx_get_poke_interface ( void data,
const video_poke_interface_t **  iface 
)
static
Here is the call graph for this function:

◆ gdi_gfx_has_windowed()

static bool gdi_gfx_has_windowed ( void data)
static
Here is the call graph for this function:

◆ gdi_gfx_init()

static void* gdi_gfx_init ( const video_info_t video,
const input_driver_t **  input,
void **  input_data 
)
static
Here is the call graph for this function:

◆ gdi_gfx_read_viewport()

static bool gdi_gfx_read_viewport ( void data,
uint8_t buffer,
bool  is_idle 
)
static
Here is the call graph for this function:

◆ gdi_gfx_set_nonblock_state()

static void gdi_gfx_set_nonblock_state ( void data,
bool  toggle 
)
static
Here is the call graph for this function:

◆ gdi_gfx_set_rotation()

static void gdi_gfx_set_rotation ( void data,
unsigned  rotation 
)
static
Here is the call graph for this function:

◆ gdi_gfx_set_shader()

static bool gdi_gfx_set_shader ( void data,
enum rarch_shader_type  type,
const char *  path 
)
static
Here is the call graph for this function:

◆ gdi_gfx_set_viewport()

static void gdi_gfx_set_viewport ( void data,
unsigned  viewport_width,
unsigned  viewport_height,
bool  force_full,
bool  allow_rotate 
)
static

◆ gdi_gfx_suppress_screensaver()

static bool gdi_gfx_suppress_screensaver ( void data,
bool  enable 
)
static
Here is the call graph for this function:

◆ gdi_gfx_viewport_info()

static void gdi_gfx_viewport_info ( void data,
struct video_viewport vp 
)
static
Here is the call graph for this function:

◆ gdi_has_menu_frame()

bool gdi_has_menu_frame ( void  )
Here is the caller graph for this function:

◆ gdi_load_texture()

static uintptr_t gdi_load_texture ( void video_data,
void data,
bool  threaded,
enum texture_filter_type  filter_type 
)
static
Here is the call graph for this function:

◆ gdi_set_osd_msg()

static void gdi_set_osd_msg ( void data,
video_frame_info_t video_info,
const char *  msg,
const void params,
void font 
)
static
Here is the call graph for this function:

◆ gdi_set_texture_frame()

static void gdi_set_texture_frame ( void data,
const void frame,
bool  rgb32,
unsigned  width,
unsigned  height,
float  alpha 
)
static
Here is the call graph for this function:

◆ gdi_set_video_mode()

static void gdi_set_video_mode ( void data,
unsigned  width,
unsigned  height,
bool  fullscreen 
)
static
Here is the call graph for this function:

◆ gdi_unload_texture()

static void gdi_unload_texture ( void data,
uintptr_t  handle 
)
static
Here is the call graph for this function:

Variable Documentation

◆ gdi_lte_win98

bool gdi_lte_win98 = false
static

◆ gdi_menu_bits

unsigned gdi_menu_bits = 0
static

◆ gdi_menu_frame

unsigned char* gdi_menu_frame = NULL
static

◆ gdi_menu_height

unsigned gdi_menu_height = 0
static

◆ gdi_menu_pitch

unsigned gdi_menu_pitch = 0
static

◆ gdi_menu_rgb32

bool gdi_menu_rgb32 = false
static

◆ gdi_menu_width

unsigned gdi_menu_width = 0
static

◆ gdi_poke_interface

const video_poke_interface_t gdi_poke_interface
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static void gdi_get_video_output_next(void *data)
Definition: gdi_gfx.c:534
static uintptr_t gdi_load_texture(void *video_data, void *data, bool threaded, enum texture_filter_type filter_type)
Definition: gdi_gfx.c:551
float win32_get_refresh_rate(void *data)
Definition: win32_common.c:1466
static void gdi_unload_texture(void *data, uintptr_t handle)
Definition: gdi_gfx.c:581
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void gdi_set_video_mode(void *data, unsigned width, unsigned height, bool fullscreen)
Definition: gdi_gfx.c:539
static void gdi_get_video_output_size(void *data, unsigned *width, unsigned *height)
Definition: gdi_gfx.c:520
static void gdi_set_osd_msg(void *data, video_frame_info_t *video_info, const char *msg, const void *params, void *font)
Definition: gdi_gfx.c:512
static void gdi_get_video_output_prev(void *data)
Definition: gdi_gfx.c:529
static void gdi_set_texture_frame(void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
Definition: gdi_gfx.c:483

◆ gdi_rgb32

bool gdi_rgb32 = false
static

◆ gdi_temp_buf

unsigned short* gdi_temp_buf = NULL
static

◆ gdi_video_bits

unsigned gdi_video_bits = 0
static

◆ gdi_video_height

unsigned gdi_video_height = 0
static

◆ gdi_video_pitch

unsigned gdi_video_pitch = 0
static

◆ gdi_video_width

unsigned gdi_video_width = 0
static

◆ gdi_win_major

int gdi_win_major = 0
static

◆ gdi_win_minor

int gdi_win_minor = 0
static

◆ video_gdi

video_driver_t video_gdi
Initial value:
= {
"gdi",
NULL,
}
static bool gdi_gfx_read_viewport(void *data, uint8_t *buffer, bool is_idle)
Definition: gdi_gfx.c:475
static void gdi_gfx_set_viewport(void *data, unsigned viewport_width, unsigned viewport_height, bool force_full, bool allow_rotate)
Definition: gdi_gfx.c:633
static void gdi_gfx_free(void *data)
Definition: gdi_gfx.c:406
static bool gdi_gfx_frame(void *data, const void *frame, unsigned frame_width, unsigned frame_height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
Definition: gdi_gfx.c:188
static void gdi_gfx_set_nonblock_state(void *data, bool toggle)
Definition: gdi_gfx.c:357
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void gdi_gfx_viewport_info(void *data, struct video_viewport *vp)
Definition: gdi_gfx.c:468
static bool gdi_gfx_alive(void *data)
Definition: gdi_gfx.c:363
static bool gdi_gfx_focus(void *data)
Definition: gdi_gfx.c:387
static bool gdi_gfx_suppress_screensaver(void *data, bool enable)
Definition: gdi_gfx.c:393
static void * gdi_gfx_init(const video_info_t *video, const input_driver_t **input, void **input_data)
Definition: gdi_gfx.c:80
static bool gdi_gfx_has_windowed(void *data)
Definition: gdi_gfx.c:400
static void gdi_gfx_set_rotation(void *data, unsigned rotation)
Definition: gdi_gfx.c:461
static bool gdi_gfx_set_shader(void *data, enum rarch_shader_type type, const char *path)
Definition: gdi_gfx.c:451
static void gdi_gfx_get_poke_interface(void *data, const video_poke_interface_t **iface)
Definition: gdi_gfx.c:626