RetroArch
Macros | Functions | Variables
d3d10.c File Reference
#include <assert.h>
#include <string/stdstring.h>
#include <file/file_path.h>
#include "../../driver.h"
#include "../../verbosity.h"
#include "../../configuration.h"
#include "../../retroarch.h"
#include "../video_driver.h"
#include "../font_driver.h"
#include "../common/d3d_common.h"
#include "../common/win32_common.h"
#include "../common/d3d10_common.h"
#include "../common/dxgi_common.h"
#include "../common/d3dcompiler_common.h"
#include "d3d_shaders/opaque_sm5.hlsl.h"
#include "d3d_shaders/sprite_sm4.hlsl.h"
#include "d3d_shaders/ribbon_sm4.hlsl.h"
#include "d3d_shaders/ribbon_simple_sm4.hlsl.h"
#include "d3d_shaders/simple_snow_sm4.hlsl.h"
#include "d3d_shaders/snow_sm4.hlsl.h"
#include "d3d_shaders/bokeh_sm4.hlsl.h"
#include "d3d_shaders/snowflake_sm4.hlsl.h"
Include dependency graph for d3d10.c:

Macros

#define CINTERFACE
 

Functions

static void d3d10_set_filtering (void *data, unsigned index, bool smooth)
 
static void d3d10_gfx_set_rotation (void *data, unsigned rotation)
 
static void d3d10_update_viewport (void *data, bool force_full)
 
static void d3d10_free_shader_preset (d3d10_video_t *d3d10)
 
static bool d3d10_gfx_set_shader (void *data, enum rarch_shader_type type, const char *path)
 
static void d3d10_gfx_free (void *data)
 
static voidd3d10_gfx_init (const video_info_t *video, const input_driver_t **input, void **input_data)
 
static void d3d10_init_history (d3d10_video_t *d3d10, unsigned width, unsigned height)
 
static void d3d10_init_render_targets (d3d10_video_t *d3d10, unsigned width, unsigned height)
 
static bool d3d10_gfx_frame (void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
 
static void d3d10_gfx_set_nonblock_state (void *data, bool toggle)
 
static bool d3d10_gfx_alive (void *data)
 
static bool d3d10_gfx_focus (void *data)
 
static bool d3d10_gfx_suppress_screensaver (void *data, bool enable)
 
static bool d3d10_gfx_has_windowed (void *data)
 
static struct video_shaderd3d10_gfx_get_current_shader (void *data)
 
static void d3d10_gfx_viewport_info (void *data, struct video_viewport *vp)
 
static bool d3d10_gfx_read_viewport (void *data, uint8_t *buffer, bool is_idle)
 
static void d3d10_set_menu_texture_frame (void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
 
static void d3d10_set_menu_texture_enable (void *data, bool state, bool full_screen)
 
static void d3d10_gfx_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
 
static void d3d10_gfx_apply_state_changes (void *data)
 
static void d3d10_gfx_set_osd_msg (void *data, video_frame_info_t *video_info, const char *msg, const void *params, void *font)
 
static void d3d10_gfx_show_mouse (void *data, bool state)
 
static uintptr_t d3d10_gfx_load_texture (void *video_data, void *data, bool threaded, enum texture_filter_type filter_type)
 
static void d3d10_gfx_unload_texture (void *data, uintptr_t handle)
 
static uint32_t d3d10_get_flags (void *data)
 
static void d3d10_gfx_get_poke_interface (void *data, const video_poke_interface_t **iface)
 

Variables

static const video_poke_interface_t d3d10_poke_interface
 
video_driver_t video_d3d10
 

Macro Definition Documentation

◆ CINTERFACE

#define CINTERFACE

Function Documentation

◆ d3d10_free_shader_preset()

static void d3d10_free_shader_preset ( d3d10_video_t d3d10)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_get_flags()

static uint32_t d3d10_get_flags ( void data)
static

◆ d3d10_gfx_alive()

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

◆ d3d10_gfx_apply_state_changes()

static void d3d10_gfx_apply_state_changes ( void data)
static

◆ d3d10_gfx_focus()

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

◆ d3d10_gfx_frame()

static bool d3d10_gfx_frame ( void data,
const void frame,
unsigned  width,
unsigned  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:

◆ d3d10_gfx_free()

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

◆ d3d10_gfx_get_current_shader()

static struct video_shader* d3d10_gfx_get_current_shader ( void data)
static

◆ d3d10_gfx_get_poke_interface()

static void d3d10_gfx_get_poke_interface ( void data,
const video_poke_interface_t **  iface 
)
static

◆ d3d10_gfx_has_windowed()

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

◆ d3d10_gfx_init()

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

◆ d3d10_gfx_load_texture()

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

◆ d3d10_gfx_read_viewport()

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

◆ d3d10_gfx_set_aspect_ratio()

static void d3d10_gfx_set_aspect_ratio ( void data,
unsigned  aspect_ratio_idx 
)
static

◆ d3d10_gfx_set_nonblock_state()

static void d3d10_gfx_set_nonblock_state ( void data,
bool  toggle 
)
static

◆ d3d10_gfx_set_osd_msg()

static void d3d10_gfx_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:

◆ d3d10_gfx_set_rotation()

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

◆ d3d10_gfx_set_shader()

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

◆ d3d10_gfx_show_mouse()

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

◆ d3d10_gfx_suppress_screensaver()

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

◆ d3d10_gfx_unload_texture()

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

◆ d3d10_gfx_viewport_info()

static void d3d10_gfx_viewport_info ( void data,
struct video_viewport vp 
)
static

◆ d3d10_init_history()

static void d3d10_init_history ( d3d10_video_t d3d10,
unsigned  width,
unsigned  height 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_init_render_targets()

static void d3d10_init_render_targets ( d3d10_video_t d3d10,
unsigned  width,
unsigned  height 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d10_set_filtering()

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

◆ d3d10_set_menu_texture_enable()

static void d3d10_set_menu_texture_enable ( void data,
bool  state,
bool  full_screen 
)
static

◆ d3d10_set_menu_texture_frame()

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

◆ d3d10_update_viewport()

static void d3d10_update_viewport ( void data,
bool  force_full 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ d3d10_poke_interface

const video_poke_interface_t d3d10_poke_interface
static

◆ video_d3d10

video_driver_t video_d3d10
Initial value:
= {
"d3d10",
NULL,
NULL,
}
static bool d3d10_gfx_frame(void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
Definition: d3d10.c:1085
static void d3d10_gfx_free(void *data)
Definition: d3d10.c:504
static bool d3d10_gfx_has_windowed(void *data)
Definition: d3d10.c:1437
static bool d3d10_gfx_read_viewport(void *data, uint8_t *buffer, bool is_idle)
Definition: d3d10.c:1460
static void d3d10_gfx_set_nonblock_state(void *data, bool toggle)
Definition: d3d10.c:1405
static void * d3d10_gfx_init(const video_info_t *video, const input_driver_t **input, void **input_data)
Definition: d3d10.c:574
static void d3d10_gfx_set_rotation(void *data, unsigned rotation)
Definition: d3d10.c:221
static bool d3d10_gfx_set_shader(void *data, enum rarch_shader_type type, const char *path)
Definition: d3d10.c:308
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static bool d3d10_gfx_alive(void *data)
Definition: d3d10.c:1415
static bool d3d10_gfx_focus(void *data)
Definition: d3d10.c:1428
static void d3d10_gfx_viewport_info(void *data, struct video_viewport *vp)
Definition: d3d10.c:1453
static void d3d10_gfx_get_poke_interface(void *data, const video_poke_interface_t **iface)
Definition: d3d10.c:1650
static bool d3d10_gfx_suppress_screensaver(void *data, bool enable)
Definition: d3d10.c:1430