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

Macros

#define CINTERFACE
 

Typedefs

typedef IDirect3D8 *(__stdcall * D3DCreate_t) (UINT)
 

Functions

voidd3d8_create (void)
 
bool d3d8_initialize_symbols (enum gfx_ctx_api api)
 
void d3d8_deinitialize_symbols (void)
 
voidd3d8_texture_new (LPDIRECT3DDEVICE8 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)
 
void d3d8_frame_postprocess (void *data)
 
static bool d3d8_reset_internal (LPDIRECT3DDEVICE8 dev, D3DPRESENT_PARAMETERS *d3dpp)
 
static HRESULT d3d8_test_cooperative_level (LPDIRECT3DDEVICE8 dev)
 
static bool d3d8_create_device_internal (LPDIRECT3DDEVICE8 dev, D3DPRESENT_PARAMETERS *d3dpp, LPDIRECT3D8 d3d, HWND focus_window, unsigned cur_mon_id, DWORD behavior_flags)
 
bool d3d8_create_device (void *dev, void *d3dpp, LPDIRECT3D8 d3d, HWND focus_window, unsigned cur_mon_id)
 
bool d3d8_reset (void *dev, void *d3dpp)
 
bool d3d8x_create_font_indirect (LPDIRECT3DDEVICE8 dev, void *desc, void **font_data)
 
void d3d8x_font_draw_text (void *data, void *sprite_data, void *string_data, unsigned count, void *rect_data, unsigned format, unsigned color)
 
void d3d8x_font_release (void *data)
 
void d3d8x_font_get_text_metrics (void *data, void *metrics)
 

Variables

static UINT SDKVersion = 0
 
static D3DCreate_t D3DCreate
 

Macro Definition Documentation

◆ CINTERFACE

#define CINTERFACE

Typedef Documentation

◆ D3DCreate_t

typedef IDirect3D8*(__stdcall * D3DCreate_t) (UINT)

Function Documentation

◆ d3d8_create()

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

◆ d3d8_create_device()

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

◆ d3d8_create_device_internal()

static bool d3d8_create_device_internal ( LPDIRECT3DDEVICE8  dev,
D3DPRESENT_PARAMETERS d3dpp,
LPDIRECT3D8  d3d,
HWND  focus_window,
unsigned  cur_mon_id,
DWORD  behavior_flags 
)
static
Here is the caller graph for this function:

◆ d3d8_deinitialize_symbols()

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

◆ d3d8_frame_postprocess()

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

◆ d3d8_initialize_symbols()

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

◆ d3d8_reset()

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

◆ d3d8_reset_internal()

static bool d3d8_reset_internal ( LPDIRECT3DDEVICE8  dev,
D3DPRESENT_PARAMETERS d3dpp 
)
static
Here is the caller graph for this function:

◆ d3d8_test_cooperative_level()

static HRESULT d3d8_test_cooperative_level ( LPDIRECT3DDEVICE8  dev)
static
Here is the caller graph for this function:

◆ d3d8_texture_new()

void* d3d8_texture_new ( LPDIRECT3DDEVICE8  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:

◆ d3d8x_create_font_indirect()

bool d3d8x_create_font_indirect ( LPDIRECT3DDEVICE8  dev,
void desc,
void **  font_data 
)

◆ d3d8x_font_draw_text()

void d3d8x_font_draw_text ( void data,
void sprite_data,
void string_data,
unsigned  count,
void rect_data,
unsigned  format,
unsigned  color 
)

◆ d3d8x_font_get_text_metrics()

void d3d8x_font_get_text_metrics ( void data,
void metrics 
)

◆ d3d8x_font_release()

void d3d8x_font_release ( void data)

Variable Documentation

◆ D3DCreate

D3DCreate_t D3DCreate
static

◆ SDKVersion

UINT SDKVersion = 0
static