RetroArch
Macros | Typedefs | Functions | Variables
d3d9_common.c File Reference
#include "../../verbosity.h"
#include "d3d9_common.h"
Include dependency graph for d3d9_common.c:

Macros

#define CINTERFACE
 

Typedefs

typedef IDirect3D9 *(__stdcall * D3D9Create_t) (UINT)
 

Functions

voidd3d9_create (void)
 
bool d3d9_initialize_symbols (enum gfx_ctx_api api)
 
void d3d9_deinitialize_symbols (void)
 
voidd3d9_texture_new (void *_dev, const char *path, unsigned width, unsigned height, unsigned miplevels, unsigned usage, INT32 format, INT32 pool, unsigned filter, unsigned mipfilter, INT32 color_key, void *src_info_data, PALETTEENTRY *palette, bool want_mipmap)
 
voidd3d9_vertex_buffer_new (void *_dev, unsigned length, unsigned usage, unsigned fvf, INT32 pool, void *handle)
 
void d3d9_vertex_buffer_free (void *vertex_data, void *vertex_declaration)
 
static bool d3d9_reset_internal (void *data, D3DPRESENT_PARAMETERS *d3dpp)
 
static HRESULT d3d9_test_cooperative_level (void *data)
 
static bool d3d9_create_device_internal (void *data, D3DPRESENT_PARAMETERS *d3dpp, void *_d3d, HWND focus_window, unsigned cur_mon_id, DWORD behavior_flags)
 
bool d3d9_create_device (void *dev, void *d3dpp, void *d3d, HWND focus_window, unsigned cur_mon_id)
 
bool d3d9_reset (void *dev, void *d3dpp)
 
bool d3d9x_create_font_indirect (void *_dev, void *desc, void **font_data)
 
void d3d9x_buffer_release (void *data)
 
bool d3d9x_compile_shader (const char *src, unsigned src_data_len, const void *pdefines, void *pinclude, const char *pfunctionname, const char *pprofile, unsigned flags, void *ppshader, void *pperrormsgs, void *ppconstanttable)
 
void d3d9x_font_draw_text (void *data, void *sprite_data, void *string_data, unsigned count, void *rect_data, unsigned format, unsigned color)
 
void d3d9x_font_release (void *data)
 
void d3d9x_font_get_text_metrics (void *data, void *metrics)
 
bool d3d9x_compile_shader_from_file (const char *src, const void *pdefines, void *pinclude, const char *pfunctionname, const char *pprofile, unsigned flags, void *ppshader, void *pperrormsgs, void *ppconstanttable)
 
const voidd3d9x_get_buffer_ptr (void *data)
 
voidd3d9x_constant_table_get_constant_by_name (void *_tbl, void *_handle, void *_name)
 
void d3d9x_constant_table_set_float_array (LPDIRECT3DDEVICE9 dev, void *p, void *_handle, const void *_pf, unsigned count)
 
void d3d9x_constant_table_set_defaults (LPDIRECT3DDEVICE9 dev, void *p)
 
void d3d9x_constant_table_set_matrix (LPDIRECT3DDEVICE9 dev, void *p, void *data, const void *_matrix)
 
const bool d3d9x_constant_table_set_float (void *p, void *a, void *b, float val)
 

Variables

static UINT d3d9_SDKVersion = 0
 
static D3D9Create_t D3D9Create
 

Macro Definition Documentation

◆ CINTERFACE

#define CINTERFACE

Typedef Documentation

◆ D3D9Create_t

typedef IDirect3D9*(__stdcall * D3D9Create_t) (UINT)

Function Documentation

◆ d3d9_create()

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

◆ d3d9_create_device()

bool d3d9_create_device ( void dev,
void d3dpp,
void d3d,
HWND  focus_window,
unsigned  cur_mon_id 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_create_device_internal()

static bool d3d9_create_device_internal ( void data,
D3DPRESENT_PARAMETERS d3dpp,
void _d3d,
HWND  focus_window,
unsigned  cur_mon_id,
DWORD  behavior_flags 
)
static
Here is the caller graph for this function:

◆ d3d9_deinitialize_symbols()

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

◆ d3d9_initialize_symbols()

bool d3d9_initialize_symbols ( enum gfx_ctx_api  api)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_reset()

bool d3d9_reset ( void dev,
void d3dpp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_reset_internal()

static bool d3d9_reset_internal ( void data,
D3DPRESENT_PARAMETERS d3dpp 
)
static
Here is the caller graph for this function:

◆ d3d9_test_cooperative_level()

static HRESULT d3d9_test_cooperative_level ( void data)
static
Here is the caller graph for this function:

◆ d3d9_texture_new()

void* d3d9_texture_new ( void _dev,
const char *  path,
unsigned  width,
unsigned  height,
unsigned  miplevels,
unsigned  usage,
INT32  format,
INT32  pool,
unsigned  filter,
unsigned  mipfilter,
INT32  color_key,
void src_info_data,
PALETTEENTRY *  palette,
bool  want_mipmap 
)
Here is the caller graph for this function:

◆ d3d9_vertex_buffer_free()

void d3d9_vertex_buffer_free ( void vertex_data,
void vertex_declaration 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_vertex_buffer_new()

void* d3d9_vertex_buffer_new ( void _dev,
unsigned  length,
unsigned  usage,
unsigned  fvf,
INT32  pool,
void handle 
)
Here is the caller graph for this function:

◆ d3d9x_buffer_release()

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

◆ d3d9x_compile_shader()

bool d3d9x_compile_shader ( const char *  src,
unsigned  src_data_len,
const void pdefines,
void pinclude,
const char *  pfunctionname,
const char *  pprofile,
unsigned  flags,
void ppshader,
void pperrormsgs,
void ppconstanttable 
)
Here is the caller graph for this function:

◆ d3d9x_compile_shader_from_file()

bool d3d9x_compile_shader_from_file ( const char *  src,
const void pdefines,
void pinclude,
const char *  pfunctionname,
const char *  pprofile,
unsigned  flags,
void ppshader,
void pperrormsgs,
void ppconstanttable 
)
Here is the caller graph for this function:

◆ d3d9x_constant_table_get_constant_by_name()

void* d3d9x_constant_table_get_constant_by_name ( void _tbl,
void _handle,
void _name 
)
Here is the caller graph for this function:

◆ d3d9x_constant_table_set_defaults()

void d3d9x_constant_table_set_defaults ( LPDIRECT3DDEVICE9  dev,
void p 
)
Here is the caller graph for this function:

◆ d3d9x_constant_table_set_float()

const bool d3d9x_constant_table_set_float ( void p,
void a,
void b,
float  val 
)
Here is the caller graph for this function:

◆ d3d9x_constant_table_set_float_array()

void d3d9x_constant_table_set_float_array ( LPDIRECT3DDEVICE9  dev,
void p,
void _handle,
const void _pf,
unsigned  count 
)
Here is the caller graph for this function:

◆ d3d9x_constant_table_set_matrix()

void d3d9x_constant_table_set_matrix ( LPDIRECT3DDEVICE9  dev,
void p,
void data,
const void _matrix 
)
Here is the caller graph for this function:

◆ d3d9x_create_font_indirect()

bool d3d9x_create_font_indirect ( void _dev,
void desc,
void **  font_data 
)
Here is the caller graph for this function:

◆ d3d9x_font_draw_text()

void d3d9x_font_draw_text ( void data,
void sprite_data,
void string_data,
unsigned  count,
void rect_data,
unsigned  format,
unsigned  color 
)
Here is the caller graph for this function:

◆ d3d9x_font_get_text_metrics()

void d3d9x_font_get_text_metrics ( void data,
void metrics 
)
Here is the caller graph for this function:

◆ d3d9x_font_release()

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

◆ d3d9x_get_buffer_ptr()

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

Variable Documentation

◆ d3d9_SDKVersion

UINT d3d9_SDKVersion = 0
static

◆ D3D9Create

D3D9Create_t D3D9Create
static