RetroArch
Public Attributes | List of all members
gfx_ctx_driver Struct Reference

#include <video_driver.h>

Collaboration diagram for gfx_ctx_driver:
[legend]

Public Attributes

void *(* init )(video_frame_info_t *video_info, void *video_driver)
 
void(* destroy )(void *data)
 
enum gfx_ctx_api(* get_api )(void *data)
 
bool(* bind_api )(void *video_driver, enum gfx_ctx_api, unsigned major, unsigned minor)
 
void(* swap_interval )(void *data, int)
 
bool(* set_video_mode )(void *, video_frame_info_t *video_info, unsigned, unsigned, bool)
 
void(* get_video_size )(void *, unsigned *, unsigned *)
 
float(* get_refresh_rate )(void *)
 
void(* get_video_output_size )(void *, unsigned *, unsigned *)
 
void(* get_video_output_prev )(void *)
 
void(* get_video_output_next )(void *)
 
get_metrics_cb get_metrics
 
float(* translate_aspect )(void *, unsigned, unsigned)
 
update_window_title_cb update_window_title
 
void(* check_window )(void *, bool *, bool *, unsigned *, unsigned *, bool)
 
set_resize_cb set_resize
 
bool(* has_focus )(void *)
 
bool(* suppress_screensaver )(void *data, bool enable)
 
bool(* has_windowed )(void *)
 
void(* swap_buffers )(void *, void *)
 
void(* input_driver )(void *, const char *, const input_driver_t **, void **)
 
gfx_ctx_proc_t(* get_proc_address )(const char *)
 
bool(* image_buffer_init )(void *, const video_info_t *)
 
bool(* image_buffer_write )(void *, const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, unsigned index, void **image_handle)
 
void(* show_mouse )(void *data, bool state)
 
const char * ident
 
uint32_t(* get_flags )(void *data)
 
void(* set_flags )(void *data, uint32_t flags)
 
void(* bind_hw_render )(void *data, bool enable)
 
void *(* get_context_data )(void *data)
 
void(* make_current )(bool release)
 

Member Data Documentation

◆ bind_api

bool(* gfx_ctx_driver::bind_api) (void *video_driver, enum gfx_ctx_api, unsigned major, unsigned minor)

◆ bind_hw_render

void(* gfx_ctx_driver::bind_hw_render) (void *data, bool enable)

◆ check_window

void(* gfx_ctx_driver::check_window) (void *, bool *, bool *, unsigned *, unsigned *, bool)

◆ destroy

void(* gfx_ctx_driver::destroy) (void *data)

◆ get_api

enum gfx_ctx_api(* gfx_ctx_driver::get_api) (void *data)

◆ get_context_data

void*(* gfx_ctx_driver::get_context_data) (void *data)

◆ get_flags

uint32_t(* gfx_ctx_driver::get_flags) (void *data)

◆ get_metrics

get_metrics_cb gfx_ctx_driver::get_metrics

◆ get_proc_address

gfx_ctx_proc_t(* gfx_ctx_driver::get_proc_address) (const char *)

◆ get_refresh_rate

float(* gfx_ctx_driver::get_refresh_rate) (void *)

◆ get_video_output_next

void(* gfx_ctx_driver::get_video_output_next) (void *)

◆ get_video_output_prev

void(* gfx_ctx_driver::get_video_output_prev) (void *)

◆ get_video_output_size

void(* gfx_ctx_driver::get_video_output_size) (void *, unsigned *, unsigned *)

◆ get_video_size

void(* gfx_ctx_driver::get_video_size) (void *, unsigned *, unsigned *)

◆ has_focus

bool(* gfx_ctx_driver::has_focus) (void *)

◆ has_windowed

bool(* gfx_ctx_driver::has_windowed) (void *)

◆ ident

const char* gfx_ctx_driver::ident

◆ image_buffer_init

bool(* gfx_ctx_driver::image_buffer_init) (void *, const video_info_t *)

◆ image_buffer_write

bool(* gfx_ctx_driver::image_buffer_write) (void *, const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, unsigned index, void **image_handle)

◆ init

void*(* gfx_ctx_driver::init) (video_frame_info_t *video_info, void *video_driver)

◆ input_driver

void(* gfx_ctx_driver::input_driver) (void *, const char *, const input_driver_t **, void **)

◆ make_current

void(* gfx_ctx_driver::make_current) (bool release)

◆ set_flags

void(* gfx_ctx_driver::set_flags) (void *data, uint32_t flags)

◆ set_resize

set_resize_cb gfx_ctx_driver::set_resize

◆ set_video_mode

bool(* gfx_ctx_driver::set_video_mode) (void *, video_frame_info_t *video_info, unsigned, unsigned, bool)

◆ show_mouse

void(* gfx_ctx_driver::show_mouse) (void *data, bool state)

◆ suppress_screensaver

bool(* gfx_ctx_driver::suppress_screensaver) (void *data, bool enable)

◆ swap_buffers

void(* gfx_ctx_driver::swap_buffers) (void *, void *)

◆ swap_interval

void(* gfx_ctx_driver::swap_interval) (void *data, int)

◆ translate_aspect

float(* gfx_ctx_driver::translate_aspect) (void *, unsigned, unsigned)

◆ update_window_title

update_window_title_cb gfx_ctx_driver::update_window_title

The documentation for this struct was generated from the following file: