RetroArch
Classes | Macros | Typedefs | Enumerations | Functions | Variables
video_driver.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <gfx/math/matrix_4x4.h>
#include "video_defines.h"
#include "video_coord_array.h"
#include "video_filter.h"
#include "video_shader_parse.h"
#include "video_state_tracker.h"
#include "../input/input_driver.h"
Include dependency graph for video_driver.h:

Go to the source code of this file.

Classes

struct  LinkInfo
 
struct  shader_program_info
 
struct  uniform_info
 
struct  shader_backend
 
struct  video_shader_ctx_init
 
struct  video_shader_ctx_params
 
struct  video_shader_ctx_coords
 
struct  video_shader_ctx_scale
 
struct  video_shader_ctx_info
 
struct  video_shader_ctx_mvp
 
struct  video_shader_ctx_filter
 
struct  video_shader_ctx_wrap
 
struct  video_shader_ctx
 
struct  video_shader_ctx_ident
 
struct  video_shader_ctx_texture
 
struct  video_info
 
struct  video_frame_info
 
struct  gfx_ctx_driver
 
struct  gfx_ctx_flags
 
struct  gfx_ctx_size
 
struct  gfx_ctx_mode
 
struct  gfx_ctx_metrics
 
struct  gfx_ctx_aspect
 
struct  gfx_ctx_image
 
struct  gfx_ctx_input
 
struct  gfx_ctx_proc_address
 
struct  gfx_ctx_ident
 
struct  video_viewport
 
struct  aspect_ratio_elem
 
struct  video_poke_interface
 
struct  video_driver
 

Macros

#define RARCH_SCALE_BASE   256
 
#define VIDEO_SHADER_STOCK_BLEND   (GFX_MAX_SHADERS - 1)
 
#define VIDEO_SHADER_MENU   (GFX_MAX_SHADERS - 2)
 
#define VIDEO_SHADER_MENU_2   (GFX_MAX_SHADERS - 3)
 
#define VIDEO_SHADER_MENU_3   (GFX_MAX_SHADERS - 4)
 
#define VIDEO_SHADER_MENU_4   (GFX_MAX_SHADERS - 5)
 
#define VIDEO_SHADER_MENU_5   (GFX_MAX_SHADERS - 6)
 
#define VIDEO_SHADER_MENU_6   (GFX_MAX_SHADERS - 7)
 
#define DEFAULT_SHADER_TYPE   RARCH_SHADER_NONE
 
#define MAX_EGLIMAGE_TEXTURES   32
 
#define MAX_VARIABLES   64
 
#define video_driver_translate_coord_viewport_wrap(vp, mouse_x, mouse_y, res_x, res_y, res_screen_x, res_screen_y)   (video_driver_get_viewport_info(vp) ? video_driver_translate_coord_viewport(vp, mouse_x, mouse_y, res_x, res_y, res_screen_x, res_screen_y) : false)
 

Typedefs

typedef struct shader_backend shader_backend_t
 
typedef struct video_shader_ctx_init video_shader_ctx_init_t
 
typedef struct video_shader_ctx_params video_shader_ctx_params_t
 
typedef struct video_shader_ctx_coords video_shader_ctx_coords_t
 
typedef struct video_shader_ctx_scale video_shader_ctx_scale_t
 
typedef struct video_shader_ctx_info video_shader_ctx_info_t
 
typedef struct video_shader_ctx_mvp video_shader_ctx_mvp_t
 
typedef struct video_shader_ctx_filter video_shader_ctx_filter_t
 
typedef struct video_shader_ctx_wrap video_shader_ctx_wrap_t
 
typedef struct video_shader_ctx video_shader_ctx_t
 
typedef struct video_shader_ctx_ident video_shader_ctx_ident_t
 
typedef struct video_shader_ctx_texture video_shader_ctx_texture_t
 
typedef void(* gfx_ctx_proc_t) (void)
 
typedef struct video_info video_info_t
 
typedef struct video_frame_info video_frame_info_t
 
typedef void(* update_window_title_cb) (void *, void *)
 
typedef bool(* get_metrics_cb) (void *data, enum display_metric_types type, float *value)
 
typedef bool(* set_resize_cb) (void *, unsigned, unsigned)
 
typedef struct gfx_ctx_driver gfx_ctx_driver_t
 
typedef struct gfx_ctx_flags gfx_ctx_flags_t
 
typedef struct gfx_ctx_size gfx_ctx_size_t
 
typedef struct gfx_ctx_mode gfx_ctx_mode_t
 
typedef struct gfx_ctx_metrics gfx_ctx_metrics_t
 
typedef struct gfx_ctx_aspect gfx_ctx_aspect_t
 
typedef struct gfx_ctx_image gfx_ctx_image_t
 
typedef struct gfx_ctx_input gfx_ctx_input_t
 
typedef struct gfx_ctx_proc_address gfx_ctx_proc_address_t
 
typedef struct gfx_ctx_ident gfx_ctx_ident_t
 
typedef struct video_viewport video_viewport_t
 
typedef struct video_poke_interface video_poke_interface_t
 
typedef bool(* video_driver_frame_t) (void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
 
typedef struct video_driver video_driver_t
 

Enumerations

enum  { TEXTURES = 8, TEXTURESMASK = TEXTURES - 1 }
 
enum  gfx_ctx_api {
  GFX_CTX_NONE = 0, GFX_CTX_OPENGL_API, GFX_CTX_OPENGL_ES_API, GFX_CTX_DIRECT3D8_API,
  GFX_CTX_DIRECT3D9_API, GFX_CTX_DIRECT3D10_API, GFX_CTX_DIRECT3D11_API, GFX_CTX_DIRECT3D12_API,
  GFX_CTX_OPENVG_API, GFX_CTX_VULKAN_API, GFX_CTX_SIXEL_API, GFX_CTX_METAL_API,
  GFX_CTX_GDI_API, GFX_CTX_GX_API, GFX_CTX_GX2_API
}
 
enum  display_metric_types { DISPLAY_METRIC_NONE = 0, DISPLAY_METRIC_MM_WIDTH, DISPLAY_METRIC_MM_HEIGHT, DISPLAY_METRIC_DPI }
 
enum  display_flags {
  GFX_CTX_FLAGS_NONE = 0, GFX_CTX_FLAGS_GL_CORE_CONTEXT, GFX_CTX_FLAGS_MULTISAMPLING, GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES,
  GFX_CTX_FLAGS_HARD_SYNC, GFX_CTX_FLAGS_BLACK_FRAME_INSERTION, GFX_CTX_FLAGS_MENU_FRAME_FILTERING, GFX_CTX_FLAGS_ADAPTIVE_VSYNC
}
 
enum  shader_uniform_type {
  UNIFORM_1F = 0, UNIFORM_2F, UNIFORM_3F, UNIFORM_4F,
  UNIFORM_1FV, UNIFORM_2FV, UNIFORM_3FV, UNIFORM_4FV,
  UNIFORM_1I
}
 
enum  shader_program_type { SHADER_PROGRAM_VERTEX = 0, SHADER_PROGRAM_FRAGMENT, SHADER_PROGRAM_COMBINED }
 

Functions

bool video_driver_has_windowed (void)
 
bool video_driver_cached_frame_has_valid_framebuffer (void)
 
void video_driver_destroy (void)
 
void video_driver_set_cached_frame_ptr (const void *data)
 
void video_driver_set_stub_frame (void)
 
void video_driver_unset_stub_frame (void)
 
bool video_driver_is_stub_frame (void)
 
bool video_driver_supports_recording (void)
 
bool video_driver_supports_viewport_read (void)
 
bool video_driver_supports_read_frame_raw (void)
 
void video_driver_set_viewport_config (void)
 
void video_driver_set_viewport_square_pixel (void)
 
void video_driver_set_viewport_core (void)
 
void video_driver_reset_custom_viewport (void)
 
void video_driver_set_rgba (void)
 
void video_driver_unset_rgba (void)
 
bool video_driver_supports_rgba (void)
 
bool video_driver_get_next_video_out (void)
 
bool video_driver_get_prev_video_out (void)
 
bool video_driver_init (bool *video_is_threaded)
 
void video_driver_destroy_data (void)
 
void video_driver_free (void)
 
void video_driver_free_hw_context (void)
 
void video_driver_monitor_reset (void)
 
void video_driver_set_aspect_ratio (void)
 
void video_driver_update_viewport (struct video_viewport *vp, bool force_full, bool keep_aspect)
 
void video_driver_show_mouse (void)
 
void video_driver_hide_mouse (void)
 
void video_driver_set_nonblock_state (bool toggle)
 
bool video_driver_find_driver (void)
 
void video_driver_apply_state_changes (void)
 
bool video_driver_read_viewport (uint8_t *buffer, bool is_idle)
 
bool video_driver_cached_frame (void)
 
bool video_driver_frame_filter_alive (void)
 
bool video_driver_frame_filter_is_32bit (void)
 
void video_driver_default_settings (void)
 
void video_driver_load_settings (config_file_t *conf)
 
void video_driver_save_settings (config_file_t *conf)
 
void video_driver_set_own_driver (void)
 
void video_driver_unset_own_driver (void)
 
bool video_driver_owns_driver (void)
 
bool video_driver_is_hw_context (void)
 
struct retro_hw_render_callbackvideo_driver_get_hw_context (void)
 
const struct retro_hw_render_context_negotiation_interfacevideo_driver_get_context_negotiation_interface (void)
 
void video_driver_set_context_negotiation_interface (const struct retro_hw_render_context_negotiation_interface *iface)
 
bool video_driver_is_video_cache_context (void)
 
void video_driver_set_video_cache_context_ack (void)
 
bool video_driver_is_video_cache_context_ack (void)
 
void video_driver_set_active (void)
 
void video_driver_unset_active (void)
 
bool video_driver_is_active (void)
 
bool video_driver_gpu_record_init (unsigned size)
 
void video_driver_gpu_record_deinit (void)
 
bool video_driver_get_current_software_framebuffer (struct retro_framebuffer *fb)
 
bool video_driver_get_hw_render_interface (const struct retro_hw_render_interface **iface)
 
bool video_driver_get_viewport_info (struct video_viewport *viewport)
 
void video_driver_set_title_buf (void)
 
void video_driver_monitor_adjust_system_rates (void)
 
const voidvideo_driver_find_handle (int index)
 
const char * video_driver_find_ident (int index)
 
const char * config_get_video_driver_options (void)
 
voidvideo_driver_get_ptr (bool force_nonthreaded_data)
 
uintptr_t video_driver_get_current_framebuffer (void)
 
retro_proc_address_t video_driver_get_proc_address (const char *sym)
 
bool video_driver_set_shader (enum rarch_shader_type type, const char *shader)
 
bool video_driver_set_rotation (unsigned rotation)
 
bool video_driver_set_video_mode (unsigned width, unsigned height, bool fullscreen)
 
bool video_driver_get_video_output_size (unsigned *width, unsigned *height)
 
void video_driver_set_osd_msg (const char *msg, const void *params, void *font)
 
void video_driver_set_texture_enable (bool enable, bool full_screen)
 
void video_driver_set_texture_frame (const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
 
voidvideo_driver_read_frame_raw (unsigned *width, unsigned *height, size_t *pitch)
 
void video_driver_set_filtering (unsigned index, bool smooth)
 
const char * video_driver_get_ident (void)
 
bool video_driver_set_viewport (unsigned width, unsigned height, bool force_fullscreen, bool allow_rotate)
 
void video_driver_get_size (unsigned *width, unsigned *height)
 
void video_driver_set_size (unsigned *width, unsigned *height)
 
void video_driver_unset_video_cache_context_ack (void)
 
float video_driver_get_aspect_ratio (void)
 
void video_driver_set_aspect_ratio_value (float value)
 
rarch_softfilter_tvideo_driver_frame_filter_get_ptr (void)
 
enum retro_pixel_format video_driver_get_pixel_format (void)
 
void video_driver_set_pixel_format (enum retro_pixel_format fmt)
 
void video_driver_cached_frame_set (const void *data, unsigned width, unsigned height, size_t pitch)
 
void video_driver_cached_frame_get (const void **data, unsigned *width, unsigned *height, size_t *pitch)
 
void video_driver_menu_settings (void **list_data, void *list_info_data, void *group_data, void *subgroup_data, const char *parent_group)
 
void video_viewport_get_scaled_integer (struct video_viewport *vp, unsigned width, unsigned height, float aspect_ratio, bool keep_aspect)
 
struct retro_system_av_infovideo_viewport_get_system_av_info (void)
 
struct video_viewportvideo_viewport_get_custom (void)
 
void video_monitor_set_refresh_rate (float hz)
 
bool video_monitor_fps_statistics (double *refresh_rate, double *deviation, unsigned *sample_points)
 
unsigned video_pixel_get_alignment (unsigned pitch)
 
const video_poke_interface_tvideo_driver_get_poke (void)
 
void video_driver_frame (const void *data, unsigned width, unsigned height, size_t pitch)
 
bool video_driver_translate_coord_viewport (struct video_viewport *vp, int mouse_x, int mouse_y, int16_t *res_x, int16_t *res_y, int16_t *res_screen_x, int16_t *res_screen_y)
 
uintptr_t video_driver_display_get (void)
 
enum rarch_display_type video_driver_display_type_get (void)
 
uintptr_t video_driver_window_get (void)
 
void video_driver_display_type_set (enum rarch_display_type type)
 
void video_driver_display_set (uintptr_t idx)
 
void video_driver_window_set (uintptr_t idx)
 
bool video_driver_texture_load (void *data, enum texture_filter_type filter_type, uintptr_t *id)
 
bool video_driver_texture_unload (uintptr_t *id)
 
void video_driver_build_info (video_frame_info_t *video_info)
 
void video_driver_reinit (void)
 
void video_driver_get_window_title (char *buf, unsigned len)
 
void video_driver_get_record_status (bool *has_gpu_record, uint8_t **gpu_buf)
 
boolvideo_driver_get_threaded (void)
 
void video_driver_set_threaded (bool val)
 
void video_driver_get_status (uint64_t *frame_count, bool *is_alive, bool *is_focused)
 
const gfx_ctx_driver_tvideo_context_driver_init_first (void *data, const char *ident, enum gfx_ctx_api api, unsigned major, unsigned minor, bool hw_render_ctx, void **ctx_data)
 
bool video_context_driver_find_prev_driver (void)
 
bool video_context_driver_find_next_driver (void)
 
bool video_context_driver_init_image_buffer (const video_info_t *data)
 
bool video_context_driver_write_to_image_buffer (gfx_ctx_image_t *img)
 
bool video_context_driver_get_video_output_prev (void)
 
bool video_context_driver_get_video_output_next (void)
 
bool video_context_driver_bind_hw_render (bool *enable)
 
void video_context_driver_make_current (bool restore)
 
bool video_context_driver_set (const gfx_ctx_driver_t *data)
 
void video_context_driver_destroy (void)
 
bool video_context_driver_get_video_output_size (gfx_ctx_size_t *size_data)
 
bool video_context_driver_swap_interval (int *interval)
 
bool video_context_driver_get_proc_address (gfx_ctx_proc_address_t *proc)
 
bool video_context_driver_suppress_screensaver (bool *bool_data)
 
bool video_context_driver_get_ident (gfx_ctx_ident_t *ident)
 
bool video_context_driver_set_video_mode (gfx_ctx_mode_t *mode_info)
 
bool video_context_driver_get_video_size (gfx_ctx_mode_t *mode_info)
 
bool video_context_driver_get_refresh_rate (float *refresh_rate)
 
bool video_context_driver_show_mouse (bool *bool_data)
 
bool video_context_driver_set_flags (gfx_ctx_flags_t *flags)
 
bool video_context_driver_get_metrics (gfx_ctx_metrics_t *metrics)
 
bool video_context_driver_translate_aspect (gfx_ctx_aspect_t *aspect)
 
bool video_context_driver_input_driver (gfx_ctx_input_t *inp)
 
enum gfx_ctx_api video_context_driver_get_api (void)
 
void video_context_driver_free (void)
 
bool video_shader_driver_get_prev_textures (video_shader_ctx_texture_t *texture)
 
bool video_shader_driver_get_ident (video_shader_ctx_ident_t *ident)
 
bool video_shader_driver_get_current_shader (video_shader_ctx_t *shader)
 
bool video_shader_driver_direct_get_current_shader (video_shader_ctx_t *shader)
 
bool video_shader_driver_deinit (void)
 
void video_shader_driver_set_parameter (struct uniform_info *param)
 
void video_shader_driver_set_parameters (video_shader_ctx_params_t *params)
 
bool video_shader_driver_init_first (void)
 
bool video_shader_driver_init (video_shader_ctx_init_t *init)
 
bool video_shader_driver_get_feedback_pass (unsigned *data)
 
bool video_shader_driver_mipmap_input (unsigned *index)
 
void video_driver_set_coords (video_shader_ctx_coords_t *coords)
 
bool video_shader_driver_scale (video_shader_ctx_scale_t *scaler)
 
bool video_shader_driver_info (video_shader_ctx_info_t *shader_info)
 
void video_driver_set_mvp (video_shader_ctx_mvp_t *mvp)
 
bool video_shader_driver_filter_type (video_shader_ctx_filter_t *filter)
 
bool video_shader_driver_compile_program (struct shader_program_info *program_info)
 
void video_shader_driver_use (video_shader_ctx_info_t *shader_info)
 
bool video_shader_driver_wrap_type (video_shader_ctx_wrap_t *wrap)
 
float video_driver_get_refresh_rate (void)
 
bool video_driver_started_fullscreen (void)
 
bool video_driver_is_threaded (void)
 
bool video_driver_get_all_flags (gfx_ctx_flags_t *flags, enum display_flags flag)
 

Variables

struct aspect_ratio_elem aspectratio_lut [ASPECT_RATIO_END]
 
bool(* video_driver_cb_has_focus )(void)
 
video_driver_t video_gl
 
video_driver_t video_vulkan
 
video_driver_t video_metal
 
video_driver_t video_psp1
 
video_driver_t video_vita2d
 
video_driver_t video_ps2
 
video_driver_t video_ctr
 
video_driver_t video_switch
 
video_driver_t video_d3d8
 
video_driver_t video_d3d9
 
video_driver_t video_d3d10
 
video_driver_t video_d3d11
 
video_driver_t video_d3d12
 
video_driver_t video_gx
 
video_driver_t video_wiiu
 
video_driver_t video_xenon360
 
video_driver_t video_xvideo
 
video_driver_t video_sdl
 
video_driver_t video_sdl2
 
video_driver_t video_vg
 
video_driver_t video_omap
 
video_driver_t video_exynos
 
video_driver_t video_dispmanx
 
video_driver_t video_sunxi
 
video_driver_t video_drm
 
video_driver_t video_xshm
 
video_driver_t video_caca
 
video_driver_t video_gdi
 
video_driver_t video_vga
 
video_driver_t video_sixel
 
video_driver_t video_null
 
const gfx_ctx_driver_t gfx_ctx_osmesa
 
const gfx_ctx_driver_t gfx_ctx_sdl_gl
 
const gfx_ctx_driver_t gfx_ctx_x_egl
 
const gfx_ctx_driver_t gfx_ctx_wayland
 
const gfx_ctx_driver_t gfx_ctx_x
 
const gfx_ctx_driver_t gfx_ctx_drm
 
const gfx_ctx_driver_t gfx_ctx_mali_fbdev
 
const gfx_ctx_driver_t gfx_ctx_vivante_fbdev
 
const gfx_ctx_driver_t gfx_ctx_android
 
const gfx_ctx_driver_t gfx_ctx_ps3
 
const gfx_ctx_driver_t gfx_ctx_wgl
 
const gfx_ctx_driver_t gfx_ctx_videocore
 
const gfx_ctx_driver_t gfx_ctx_qnx
 
const gfx_ctx_driver_t gfx_ctx_cgl
 
const gfx_ctx_driver_t gfx_ctx_cocoagl
 
const gfx_ctx_driver_t gfx_ctx_emscripten
 
const gfx_ctx_driver_t gfx_ctx_opendingux_fbdev
 
const gfx_ctx_driver_t gfx_ctx_khr_display
 
const gfx_ctx_driver_t gfx_ctx_gdi
 
const gfx_ctx_driver_t gfx_ctx_sixel
 
const gfx_ctx_driver_t switch_ctx
 
const gfx_ctx_driver_t orbis_ctx
 
const gfx_ctx_driver_t gfx_ctx_null
 
const shader_backend_t gl_glsl_backend
 
const shader_backend_t gl_cg_backend
 
const shader_backend_t shader_null_backend
 

Macro Definition Documentation

◆ DEFAULT_SHADER_TYPE

#define DEFAULT_SHADER_TYPE   RARCH_SHADER_NONE

◆ MAX_EGLIMAGE_TEXTURES

#define MAX_EGLIMAGE_TEXTURES   32

◆ MAX_VARIABLES

#define MAX_VARIABLES   64

◆ RARCH_SCALE_BASE

#define RARCH_SCALE_BASE   256

◆ video_driver_translate_coord_viewport_wrap

#define video_driver_translate_coord_viewport_wrap (   vp,
  mouse_x,
  mouse_y,
  res_x,
  res_y,
  res_screen_x,
  res_screen_y 
)    (video_driver_get_viewport_info(vp) ? video_driver_translate_coord_viewport(vp, mouse_x, mouse_y, res_x, res_y, res_screen_x, res_screen_y) : false)

◆ VIDEO_SHADER_MENU

#define VIDEO_SHADER_MENU   (GFX_MAX_SHADERS - 2)

◆ VIDEO_SHADER_MENU_2

#define VIDEO_SHADER_MENU_2   (GFX_MAX_SHADERS - 3)

◆ VIDEO_SHADER_MENU_3

#define VIDEO_SHADER_MENU_3   (GFX_MAX_SHADERS - 4)

◆ VIDEO_SHADER_MENU_4

#define VIDEO_SHADER_MENU_4   (GFX_MAX_SHADERS - 5)

◆ VIDEO_SHADER_MENU_5

#define VIDEO_SHADER_MENU_5   (GFX_MAX_SHADERS - 6)

◆ VIDEO_SHADER_MENU_6

#define VIDEO_SHADER_MENU_6   (GFX_MAX_SHADERS - 7)

◆ VIDEO_SHADER_STOCK_BLEND

#define VIDEO_SHADER_STOCK_BLEND   (GFX_MAX_SHADERS - 1)

Typedef Documentation

◆ get_metrics_cb

typedef bool(* get_metrics_cb) (void *data, enum display_metric_types type, float *value)

◆ gfx_ctx_aspect_t

◆ gfx_ctx_driver_t

◆ gfx_ctx_flags_t

◆ gfx_ctx_ident_t

◆ gfx_ctx_image_t

◆ gfx_ctx_input_t

◆ gfx_ctx_metrics_t

◆ gfx_ctx_mode_t

typedef struct gfx_ctx_mode gfx_ctx_mode_t

◆ gfx_ctx_proc_address_t

◆ gfx_ctx_proc_t

typedef void(* gfx_ctx_proc_t) (void)

◆ gfx_ctx_size_t

typedef struct gfx_ctx_size gfx_ctx_size_t

◆ set_resize_cb

typedef bool(* set_resize_cb) (void *, unsigned, unsigned)

◆ shader_backend_t

◆ update_window_title_cb

typedef void(* update_window_title_cb) (void *, void *)

◆ video_driver_frame_t

typedef bool(* video_driver_frame_t) (void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)

◆ video_driver_t

typedef struct video_driver video_driver_t

◆ video_frame_info_t

◆ video_info_t

typedef struct video_info video_info_t

◆ video_poke_interface_t

◆ video_shader_ctx_coords_t

◆ video_shader_ctx_filter_t

◆ video_shader_ctx_ident_t

◆ video_shader_ctx_info_t

◆ video_shader_ctx_init_t

◆ video_shader_ctx_mvp_t

◆ video_shader_ctx_params_t

◆ video_shader_ctx_scale_t

◆ video_shader_ctx_t

◆ video_shader_ctx_texture_t

◆ video_shader_ctx_wrap_t

◆ video_viewport_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TEXTURES 
TEXTURESMASK 

◆ display_flags

Enumerator
GFX_CTX_FLAGS_NONE 
GFX_CTX_FLAGS_GL_CORE_CONTEXT 
GFX_CTX_FLAGS_MULTISAMPLING 
GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES 
GFX_CTX_FLAGS_HARD_SYNC 
GFX_CTX_FLAGS_BLACK_FRAME_INSERTION 
GFX_CTX_FLAGS_MENU_FRAME_FILTERING 
GFX_CTX_FLAGS_ADAPTIVE_VSYNC 

◆ display_metric_types

Enumerator
DISPLAY_METRIC_NONE 
DISPLAY_METRIC_MM_WIDTH 
DISPLAY_METRIC_MM_HEIGHT 
DISPLAY_METRIC_DPI 

◆ gfx_ctx_api

Enumerator
GFX_CTX_NONE 
GFX_CTX_OPENGL_API 
GFX_CTX_OPENGL_ES_API 
GFX_CTX_DIRECT3D8_API 
GFX_CTX_DIRECT3D9_API 
GFX_CTX_DIRECT3D10_API 
GFX_CTX_DIRECT3D11_API 
GFX_CTX_DIRECT3D12_API 
GFX_CTX_OPENVG_API 
GFX_CTX_VULKAN_API 
GFX_CTX_SIXEL_API 
GFX_CTX_METAL_API 
GFX_CTX_GDI_API 
GFX_CTX_GX_API 
GFX_CTX_GX2_API 

◆ shader_program_type

Enumerator
SHADER_PROGRAM_VERTEX 
SHADER_PROGRAM_FRAGMENT 
SHADER_PROGRAM_COMBINED 

◆ shader_uniform_type

Enumerator
UNIFORM_1F 
UNIFORM_2F 
UNIFORM_3F 
UNIFORM_4F 
UNIFORM_1FV 
UNIFORM_2FV 
UNIFORM_3FV 
UNIFORM_4FV 
UNIFORM_1I 

Function Documentation

◆ config_get_video_driver_options()

const char* config_get_video_driver_options ( void  )

config_get_video_driver_options:

Get an enumerated list of all video driver names, separated by '|'.

Returns: string listing of all video driver names, separated by '|'.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_bind_hw_render()

bool video_context_driver_bind_hw_render ( bool enable)

◆ video_context_driver_destroy()

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

◆ video_context_driver_find_next_driver()

bool video_context_driver_find_next_driver ( void  )

find_next_context_driver:

Finds next driver in graphics context driver array.

Here is the call graph for this function:

◆ video_context_driver_find_prev_driver()

bool video_context_driver_find_prev_driver ( void  )

find_prev_context_driver:

Finds previous driver in graphics context driver array.

Here is the call graph for this function:

◆ video_context_driver_free()

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

◆ video_context_driver_get_api()

enum gfx_ctx_api video_context_driver_get_api ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_get_ident()

bool video_context_driver_get_ident ( gfx_ctx_ident_t ident)
Here is the caller graph for this function:

◆ video_context_driver_get_metrics()

bool video_context_driver_get_metrics ( gfx_ctx_metrics_t metrics)
Here is the caller graph for this function:

◆ video_context_driver_get_proc_address()

bool video_context_driver_get_proc_address ( gfx_ctx_proc_address_t proc)
Here is the caller graph for this function:

◆ video_context_driver_get_refresh_rate()

bool video_context_driver_get_refresh_rate ( float *  refresh_rate)
Here is the caller graph for this function:

◆ video_context_driver_get_video_output_next()

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

◆ video_context_driver_get_video_output_prev()

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

◆ video_context_driver_get_video_output_size()

bool video_context_driver_get_video_output_size ( gfx_ctx_size_t size_data)
Here is the caller graph for this function:

◆ video_context_driver_get_video_size()

bool video_context_driver_get_video_size ( gfx_ctx_mode_t mode_info)
Here is the caller graph for this function:

◆ video_context_driver_init_first()

const gfx_ctx_driver_t* video_context_driver_init_first ( void data,
const char *  ident,
enum gfx_ctx_api  api,
unsigned  major,
unsigned  minor,
bool  hw_render_ctx,
void **  ctx_data 
)

video_context_driver_init_first: : Input data. : Identifier of graphics context driver to find. : API of higher-level graphics API. : Major version number of higher-level graphics API. : Minor version number of higher-level graphics API. : Request a graphics context driver capable of hardware rendering?

Finds first suitable graphics context driver and initializes.

Returns: graphics context driver if found, otherwise NULL.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_init_image_buffer()

bool video_context_driver_init_image_buffer ( const video_info_t data)
Here is the caller graph for this function:

◆ video_context_driver_input_driver()

bool video_context_driver_input_driver ( gfx_ctx_input_t inp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_make_current()

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

◆ video_context_driver_set()

bool video_context_driver_set ( const gfx_ctx_driver_t data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_set_flags()

bool video_context_driver_set_flags ( gfx_ctx_flags_t flags)
Here is the caller graph for this function:

◆ video_context_driver_set_video_mode()

bool video_context_driver_set_video_mode ( gfx_ctx_mode_t mode_info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_show_mouse()

bool video_context_driver_show_mouse ( bool bool_data)
Here is the caller graph for this function:

◆ video_context_driver_suppress_screensaver()

bool video_context_driver_suppress_screensaver ( bool bool_data)
Here is the caller graph for this function:

◆ video_context_driver_swap_interval()

bool video_context_driver_swap_interval ( int *  interval)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_context_driver_translate_aspect()

bool video_context_driver_translate_aspect ( gfx_ctx_aspect_t aspect)
Here is the caller graph for this function:

◆ video_context_driver_write_to_image_buffer()

bool video_context_driver_write_to_image_buffer ( gfx_ctx_image_t img)
Here is the caller graph for this function:

◆ video_driver_apply_state_changes()

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

◆ video_driver_build_info()

void video_driver_build_info ( video_frame_info_t video_info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_cached_frame()

bool video_driver_cached_frame ( void  )

video_driver_cached_frame:

Renders the current video frame.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_cached_frame_get()

void video_driver_cached_frame_get ( const void **  data,
unsigned *  width,
unsigned *  height,
size_t *  pitch 
)
Here is the caller graph for this function:

◆ video_driver_cached_frame_has_valid_framebuffer()

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

◆ video_driver_cached_frame_set()

void video_driver_cached_frame_set ( const void data,
unsigned  width,
unsigned  height,
size_t  pitch 
)
Here is the caller graph for this function:

◆ video_driver_default_settings()

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

◆ video_driver_destroy()

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

◆ video_driver_destroy_data()

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

◆ video_driver_display_get()

uintptr_t video_driver_display_get ( void  )
Here is the caller graph for this function:

◆ video_driver_display_set()

void video_driver_display_set ( uintptr_t  idx)
Here is the caller graph for this function:

◆ video_driver_display_type_get()

enum rarch_display_type video_driver_display_type_get ( void  )
Here is the caller graph for this function:

◆ video_driver_display_type_set()

void video_driver_display_type_set ( enum rarch_display_type  type)
Here is the caller graph for this function:

◆ video_driver_find_driver()

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

◆ video_driver_find_handle()

const void* video_driver_find_handle ( int  idx)

video_driver_find_handle: : index of driver to get handle to.

Returns: handle to video driver at index. Can be NULL if nothing found.

video_driver_find_handle: : index of driver to get handle to.

Returns: handle to video driver at index. Can be NULL if nothing found.

Here is the caller graph for this function:

◆ video_driver_find_ident()

const char* video_driver_find_ident ( int  idx)

video_driver_find_ident: : index of driver to get handle to.

Returns: Human-readable identifier of video driver at index. Can be NULL if nothing found.

video_driver_find_ident: : index of driver to get handle to.

Returns: Human-readable identifier of video driver at index. Can be NULL if nothing found.

Here is the caller graph for this function:

◆ video_driver_frame()

void video_driver_frame ( const void data,
unsigned  width,
unsigned  height,
size_t  pitch 
)

video_driver_frame: : pointer to data of the video frame. : width of the video frame. : height of the video frame. : pitch of the video frame.

Video frame render callback function.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_frame_filter_alive()

bool video_driver_frame_filter_alive ( void  )

◆ video_driver_frame_filter_get_ptr()

rarch_softfilter_t* video_driver_frame_filter_get_ptr ( void  )

◆ video_driver_frame_filter_is_32bit()

bool video_driver_frame_filter_is_32bit ( void  )

◆ video_driver_free()

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

◆ video_driver_free_hw_context()

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

◆ video_driver_get_all_flags()

bool video_driver_get_all_flags ( gfx_ctx_flags_t flags,
enum display_flags  flag 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_get_aspect_ratio()

float video_driver_get_aspect_ratio ( void  )
Here is the caller graph for this function:

◆ video_driver_get_context_negotiation_interface()

const struct retro_hw_render_context_negotiation_interface* video_driver_get_context_negotiation_interface ( void  )
Here is the caller graph for this function:

◆ video_driver_get_current_framebuffer()

uintptr_t video_driver_get_current_framebuffer ( void  )

video_driver_get_current_framebuffer:

Gets pointer to current hardware renderer framebuffer object. Used by RETRO_ENVIRONMENT_SET_HW_RENDER.

Returns: pointer to hardware framebuffer object, otherwise 0.

Here is the caller graph for this function:

◆ video_driver_get_current_software_framebuffer()

bool video_driver_get_current_software_framebuffer ( struct retro_framebuffer fb)
Here is the caller graph for this function:

◆ video_driver_get_hw_context()

struct retro_hw_render_callback* video_driver_get_hw_context ( void  )
Here is the caller graph for this function:

◆ video_driver_get_hw_render_interface()

bool video_driver_get_hw_render_interface ( const struct retro_hw_render_interface **  iface)
Here is the caller graph for this function:

◆ video_driver_get_ident()

const char* video_driver_get_ident ( void  )
Here is the caller graph for this function:

◆ video_driver_get_next_video_out()

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

◆ video_driver_get_pixel_format()

enum retro_pixel_format video_driver_get_pixel_format ( void  )
Here is the caller graph for this function:

◆ video_driver_get_poke()

const video_poke_interface_t* video_driver_get_poke ( void  )
Here is the caller graph for this function:

◆ video_driver_get_prev_video_out()

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

◆ video_driver_get_proc_address()

retro_proc_address_t video_driver_get_proc_address ( const char *  sym)
Here is the caller graph for this function:

◆ video_driver_get_ptr()

void* video_driver_get_ptr ( bool  force_nonthreaded_data)

video_driver_get_ptr:

Use this if you need the real video driver and driver data pointers.

Returns: video driver's userdata.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_get_record_status()

void video_driver_get_record_status ( bool has_gpu_record,
uint8_t **  gpu_buf 
)
Here is the caller graph for this function:

◆ video_driver_get_refresh_rate()

float video_driver_get_refresh_rate ( void  )
Here is the caller graph for this function:

◆ video_driver_get_size()

void video_driver_get_size ( unsigned *  width,
unsigned *  height 
)

◆ video_driver_get_status()

void video_driver_get_status ( uint64_t frame_count,
bool is_alive,
bool is_focused 
)
Here is the caller graph for this function:

◆ video_driver_get_threaded()

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

◆ video_driver_get_video_output_size()

bool video_driver_get_video_output_size ( unsigned *  width,
unsigned *  height 
)
Here is the caller graph for this function:

◆ video_driver_get_viewport_info()

bool video_driver_get_viewport_info ( struct video_viewport viewport)
Here is the caller graph for this function:

◆ video_driver_get_window_title()

void video_driver_get_window_title ( char *  buf,
unsigned  len 
)
Here is the caller graph for this function:

◆ video_driver_gpu_record_deinit()

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

◆ video_driver_gpu_record_init()

bool video_driver_gpu_record_init ( unsigned  size)
Here is the call graph for this function:

◆ video_driver_has_windowed()

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

◆ video_driver_hide_mouse()

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

◆ video_driver_init()

bool video_driver_init ( bool video_is_threaded)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_is_active()

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

◆ video_driver_is_hw_context()

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

◆ video_driver_is_stub_frame()

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

◆ video_driver_is_threaded()

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

◆ video_driver_is_video_cache_context()

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

◆ video_driver_is_video_cache_context_ack()

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

◆ video_driver_load_settings()

void video_driver_load_settings ( config_file_t conf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_menu_settings()

void video_driver_menu_settings ( void **  list_data,
void list_info_data,
void group_data,
void subgroup_data,
const char *  parent_group 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_monitor_adjust_system_rates()

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

◆ video_driver_monitor_reset()

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

◆ video_driver_owns_driver()

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

◆ video_driver_read_frame_raw()

void* video_driver_read_frame_raw ( unsigned *  width,
unsigned *  height,
size_t *  pitch 
)
Here is the caller graph for this function:

◆ video_driver_read_viewport()

bool video_driver_read_viewport ( uint8_t buffer,
bool  is_idle 
)
Here is the caller graph for this function:

◆ video_driver_reinit()

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

◆ video_driver_reset_custom_viewport()

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

◆ video_driver_save_settings()

void video_driver_save_settings ( config_file_t conf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_set_active()

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

◆ video_driver_set_aspect_ratio()

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

◆ video_driver_set_aspect_ratio_value()

void video_driver_set_aspect_ratio_value ( float  value)
Here is the caller graph for this function:

◆ video_driver_set_cached_frame_ptr()

void video_driver_set_cached_frame_ptr ( const void data)
Here is the caller graph for this function:

◆ video_driver_set_context_negotiation_interface()

void video_driver_set_context_negotiation_interface ( const struct retro_hw_render_context_negotiation_interface iface)
Here is the caller graph for this function:

◆ video_driver_set_coords()

void video_driver_set_coords ( video_shader_ctx_coords_t coords)
Here is the caller graph for this function:

◆ video_driver_set_filtering()

void video_driver_set_filtering ( unsigned  index,
bool  smooth 
)
Here is the caller graph for this function:

◆ video_driver_set_mvp()

void video_driver_set_mvp ( video_shader_ctx_mvp_t mvp)
Here is the caller graph for this function:

◆ video_driver_set_nonblock_state()

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

◆ video_driver_set_osd_msg()

void video_driver_set_osd_msg ( const char *  msg,
const void params,
void font 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_set_own_driver()

void video_driver_set_own_driver ( void  )

◆ video_driver_set_pixel_format()

void video_driver_set_pixel_format ( enum retro_pixel_format  fmt)
Here is the caller graph for this function:

◆ video_driver_set_rgba()

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

◆ video_driver_set_rotation()

bool video_driver_set_rotation ( unsigned  rotation)
Here is the caller graph for this function:

◆ video_driver_set_shader()

bool video_driver_set_shader ( enum rarch_shader_type  type,
const char *  shader 
)
Here is the caller graph for this function:

◆ video_driver_set_size()

void video_driver_set_size ( unsigned *  width,
unsigned *  height 
)
Here is the caller graph for this function:

◆ video_driver_set_stub_frame()

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

◆ video_driver_set_texture_enable()

void video_driver_set_texture_enable ( bool  enable,
bool  full_screen 
)
Here is the caller graph for this function:

◆ video_driver_set_texture_frame()

void video_driver_set_texture_frame ( const void frame,
bool  rgb32,
unsigned  width,
unsigned  height,
float  alpha 
)
Here is the caller graph for this function:

◆ video_driver_set_threaded()

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

◆ video_driver_set_title_buf()

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

◆ video_driver_set_video_cache_context_ack()

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

◆ video_driver_set_video_mode()

bool video_driver_set_video_mode ( unsigned  width,
unsigned  height,
bool  fullscreen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_set_viewport()

bool video_driver_set_viewport ( unsigned  width,
unsigned  height,
bool  force_fullscreen,
bool  allow_rotate 
)
Here is the caller graph for this function:

◆ video_driver_set_viewport_config()

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

◆ video_driver_set_viewport_core()

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

◆ video_driver_set_viewport_square_pixel()

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

◆ video_driver_show_mouse()

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

◆ video_driver_started_fullscreen()

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

◆ video_driver_supports_read_frame_raw()

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

◆ video_driver_supports_recording()

bool video_driver_supports_recording ( void  )
Here is the call graph for this function:

◆ video_driver_supports_rgba()

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

◆ video_driver_supports_viewport_read()

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

◆ video_driver_texture_load()

bool video_driver_texture_load ( void data,
enum texture_filter_type  filter_type,
uintptr_t id 
)
Here is the caller graph for this function:

◆ video_driver_texture_unload()

bool video_driver_texture_unload ( uintptr_t id)
Here is the caller graph for this function:

◆ video_driver_translate_coord_viewport()

bool video_driver_translate_coord_viewport ( struct video_viewport vp,
int  mouse_x,
int  mouse_y,
int16_t res_x,
int16_t res_y,
int16_t res_screen_x,
int16_t res_screen_y 
)

video_driver_translate_coord_viewport: : Pointer X coordinate. : Pointer Y coordinate. : Scaled X coordinate. : Scaled Y coordinate. : Scaled screen X coordinate. : Scaled screen Y coordinate.

Translates pointer [X,Y] coordinates into scaled screen coordinates based on viewport info.

Returns: true (1) if successful, false if video driver doesn't support viewport info.

◆ video_driver_unset_active()

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

◆ video_driver_unset_own_driver()

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

◆ video_driver_unset_rgba()

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

◆ video_driver_unset_stub_frame()

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

◆ video_driver_unset_video_cache_context_ack()

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

◆ video_driver_update_viewport()

void video_driver_update_viewport ( struct video_viewport vp,
bool  force_full,
bool  keep_aspect 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_driver_window_get()

uintptr_t video_driver_window_get ( void  )
Here is the caller graph for this function:

◆ video_driver_window_set()

void video_driver_window_set ( uintptr_t  idx)
Here is the caller graph for this function:

◆ video_monitor_fps_statistics()

bool video_monitor_fps_statistics ( double *  refresh_rate,
double *  deviation,
unsigned *  sample_points 
)

video_monitor_fps_statistics : Monitor refresh rate. : Deviation from measured refresh rate. : Amount of sampled points.

Gets the monitor FPS statistics based on the current runtime.

Returns: true (1) on success. false (0) if: a) threaded video mode is enabled b) less than 2 frame time samples. c) FPS monitor enable is off.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_monitor_set_refresh_rate()

void video_monitor_set_refresh_rate ( float  hz)

video_monitor_set_refresh_rate: : New refresh rate for monitor.

Sets monitor refresh rate to new value.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_pixel_get_alignment()

unsigned video_pixel_get_alignment ( unsigned  pitch)
Here is the caller graph for this function:

◆ video_shader_driver_compile_program()

bool video_shader_driver_compile_program ( struct shader_program_info program_info)

◆ video_shader_driver_deinit()

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

◆ video_shader_driver_direct_get_current_shader()

bool video_shader_driver_direct_get_current_shader ( video_shader_ctx_t shader)
Here is the caller graph for this function:

◆ video_shader_driver_filter_type()

bool video_shader_driver_filter_type ( video_shader_ctx_filter_t filter)
Here is the caller graph for this function:

◆ video_shader_driver_get_current_shader()

bool video_shader_driver_get_current_shader ( video_shader_ctx_t shader)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_shader_driver_get_feedback_pass()

bool video_shader_driver_get_feedback_pass ( unsigned *  data)
Here is the caller graph for this function:

◆ video_shader_driver_get_ident()

bool video_shader_driver_get_ident ( video_shader_ctx_ident_t ident)
Here is the caller graph for this function:

◆ video_shader_driver_get_prev_textures()

bool video_shader_driver_get_prev_textures ( video_shader_ctx_texture_t texture)
Here is the caller graph for this function:

◆ video_shader_driver_info()

bool video_shader_driver_info ( video_shader_ctx_info_t shader_info)
Here is the caller graph for this function:

◆ video_shader_driver_init()

bool video_shader_driver_init ( video_shader_ctx_init_t init)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_shader_driver_init_first()

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

◆ video_shader_driver_mipmap_input()

bool video_shader_driver_mipmap_input ( unsigned *  index)
Here is the caller graph for this function:

◆ video_shader_driver_scale()

bool video_shader_driver_scale ( video_shader_ctx_scale_t scaler)
Here is the caller graph for this function:

◆ video_shader_driver_set_parameter()

void video_shader_driver_set_parameter ( struct uniform_info param)
Here is the caller graph for this function:

◆ video_shader_driver_set_parameters()

void video_shader_driver_set_parameters ( video_shader_ctx_params_t params)
Here is the caller graph for this function:

◆ video_shader_driver_use()

void video_shader_driver_use ( video_shader_ctx_info_t shader_info)
Here is the caller graph for this function:

◆ video_shader_driver_wrap_type()

bool video_shader_driver_wrap_type ( video_shader_ctx_wrap_t wrap)
Here is the caller graph for this function:

◆ video_viewport_get_custom()

struct video_viewport* video_viewport_get_custom ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_viewport_get_scaled_integer()

void video_viewport_get_scaled_integer ( struct video_viewport vp,
unsigned  width,
unsigned  height,
float  aspect_ratio,
bool  keep_aspect 
)

video_viewport_get_scaled_integer: : Viewport handle : Width. : Height. : Aspect ratio (in float). : Preserve aspect ratio?

Gets viewport scaling dimensions based on scaled integer aspect ratio.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ video_viewport_get_system_av_info()

struct retro_system_av_info* video_viewport_get_system_av_info ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ aspectratio_lut

struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END]

◆ gfx_ctx_android

const gfx_ctx_driver_t gfx_ctx_android

◆ gfx_ctx_cgl

const gfx_ctx_driver_t gfx_ctx_cgl

◆ gfx_ctx_cocoagl

const gfx_ctx_driver_t gfx_ctx_cocoagl

◆ gfx_ctx_drm

const gfx_ctx_driver_t gfx_ctx_drm

◆ gfx_ctx_emscripten

const gfx_ctx_driver_t gfx_ctx_emscripten

◆ gfx_ctx_gdi

const gfx_ctx_driver_t gfx_ctx_gdi

◆ gfx_ctx_khr_display

const gfx_ctx_driver_t gfx_ctx_khr_display

◆ gfx_ctx_mali_fbdev

const gfx_ctx_driver_t gfx_ctx_mali_fbdev

◆ gfx_ctx_null

const gfx_ctx_driver_t gfx_ctx_null

◆ gfx_ctx_opendingux_fbdev

const gfx_ctx_driver_t gfx_ctx_opendingux_fbdev

◆ gfx_ctx_osmesa

const gfx_ctx_driver_t gfx_ctx_osmesa

◆ gfx_ctx_ps3

const gfx_ctx_driver_t gfx_ctx_ps3

◆ gfx_ctx_qnx

const gfx_ctx_driver_t gfx_ctx_qnx

◆ gfx_ctx_sdl_gl

const gfx_ctx_driver_t gfx_ctx_sdl_gl

◆ gfx_ctx_sixel

const gfx_ctx_driver_t gfx_ctx_sixel

◆ gfx_ctx_videocore

const gfx_ctx_driver_t gfx_ctx_videocore

◆ gfx_ctx_vivante_fbdev

const gfx_ctx_driver_t gfx_ctx_vivante_fbdev

◆ gfx_ctx_wayland

const gfx_ctx_driver_t gfx_ctx_wayland

◆ gfx_ctx_wgl

const gfx_ctx_driver_t gfx_ctx_wgl

◆ gfx_ctx_x

◆ gfx_ctx_x_egl

const gfx_ctx_driver_t gfx_ctx_x_egl

◆ gl_cg_backend

const shader_backend_t gl_cg_backend

◆ gl_glsl_backend

const shader_backend_t gl_glsl_backend

◆ orbis_ctx

◆ shader_null_backend

const shader_backend_t shader_null_backend

◆ switch_ctx

const gfx_ctx_driver_t switch_ctx

◆ video_caca

video_driver_t video_caca

◆ video_ctr

video_driver_t video_ctr

◆ video_d3d10

video_driver_t video_d3d10

◆ video_d3d11

video_driver_t video_d3d11

◆ video_d3d12

video_driver_t video_d3d12

◆ video_d3d8

video_driver_t video_d3d8

◆ video_d3d9

video_driver_t video_d3d9

◆ video_dispmanx

video_driver_t video_dispmanx

◆ video_driver_cb_has_focus

bool(* video_driver_cb_has_focus) (void)

◆ video_drm

video_driver_t video_drm

◆ video_exynos

video_driver_t video_exynos

◆ video_gdi

video_driver_t video_gdi

◆ video_gl

video_driver_t video_gl

◆ video_gx

video_driver_t video_gx

◆ video_metal

video_driver_t video_metal

◆ video_null

video_driver_t video_null

◆ video_omap

video_driver_t video_omap

◆ video_ps2

video_driver_t video_ps2

◆ video_psp1

video_driver_t video_psp1

◆ video_sdl

video_driver_t video_sdl

◆ video_sdl2

video_driver_t video_sdl2

◆ video_sixel

video_driver_t video_sixel

◆ video_sunxi

video_driver_t video_sunxi

◆ video_switch

video_driver_t video_switch

◆ video_vg

video_driver_t video_vg

◆ video_vga

video_driver_t video_vga

◆ video_vita2d

video_driver_t video_vita2d

◆ video_vulkan

video_driver_t video_vulkan

◆ video_wiiu

video_driver_t video_wiiu

◆ video_xenon360

video_driver_t video_xenon360

◆ video_xshm

video_driver_t video_xshm

◆ video_xvideo

video_driver_t video_xvideo