RetroArch
Classes | Macros | Typedefs | Functions
d3d9_common.h File Reference
#include <boolean.h>
#include <retro_common_api.h>
#include <retro_inline.h>
#include <gfx/math/matrix_4x4.h>
#include <d3d9.h>
#include "d3d_common.h"
#include "../video_driver.h"
#include "../../verbosity.h"
Include dependency graph for d3d9_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  d3d9_renderchain_driver
 
struct  d3d9_video
 

Macros

#define D3D9_DECL_FVF_TEXCOORD(stream, offset, index)
 

Typedefs

typedef typedefRETRO_BEGIN_DECLS struct d3d9_video d3d9_video_t
 
typedef struct d3d9_renderchain_driver d3d9_renderchain_driver_t
 

Functions

static INLINE bool d3d9_swap (void *data, LPDIRECT3DDEVICE9 dev)
 
voidd3d9_vertex_buffer_new (void *dev, unsigned length, unsigned usage, unsigned fvf, INT32 pool, void *handle)
 
static INLINE voidd3d9_vertex_buffer_lock (LPDIRECT3DVERTEXBUFFER9 vertbuf)
 
static INLINE void d3d9_vertex_buffer_unlock (LPDIRECT3DVERTEXBUFFER9 vertbuf)
 
void d3d9_vertex_buffer_free (void *vertex_data, void *vertex_declaration)
 
static INLINE bool d3d9_texture_get_level_desc (LPDIRECT3DTEXTURE9 tex, unsigned idx, D3DSURFACE_DESC *_ppsurface_level)
 
static INLINE bool d3d9_texture_get_surface_level (LPDIRECT3DTEXTURE9 tex, unsigned idx, void **_ppsurface_level)
 
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, PALETTEENTRY *palette, bool want_mipmap)
 
static INLINE void d3d9_set_stream_source (LPDIRECT3DDEVICE9 dev, unsigned stream_no, LPDIRECT3DVERTEXBUFFER9 stream_vertbuf, unsigned offset_bytes, unsigned stride)
 
static INLINE void d3d9_texture_free (LPDIRECT3DTEXTURE9 tex)
 
static INLINE void d3d9_set_transform (LPDIRECT3DDEVICE9 dev, D3DTRANSFORMSTATETYPE state, CONST D3DMATRIX *matrix)
 
static INLINE void d3d9_set_sampler_address_u (LPDIRECT3DDEVICE9 dev, unsigned sampler, unsigned value)
 
static INLINE void d3d9_set_sampler_address_v (LPDIRECT3DDEVICE9 dev, unsigned sampler, unsigned value)
 
static INLINE void d3d9_set_sampler_minfilter (LPDIRECT3DDEVICE9 dev, unsigned sampler, unsigned value)
 
static INLINE void d3d9_set_sampler_magfilter (LPDIRECT3DDEVICE9 dev, unsigned sampler, unsigned value)
 
static INLINE void d3d9_set_sampler_mipfilter (LPDIRECT3DDEVICE9 dev, unsigned sampler, unsigned value)
 
static INLINE bool d3d9_begin_scene (LPDIRECT3DDEVICE9 dev)
 
static INLINE void d3d9_end_scene (LPDIRECT3DDEVICE9 dev)
 
static INLINE void d3d9_draw_primitive (LPDIRECT3DDEVICE9 dev, D3DPRIMITIVETYPE type, unsigned start, unsigned count)
 
static INLINE void d3d9_clear (LPDIRECT3DDEVICE9 dev, unsigned count, const D3DRECT *rects, unsigned flags, INT32 color, float z, unsigned stencil)
 
static INLINE bool d3d9_lock_rectangle (LPDIRECT3DTEXTURE9 tex, unsigned level, D3DLOCKED_RECT *lr, const RECT *rect, unsigned rectangle_height, unsigned flags)
 
static INLINE void d3d9_unlock_rectangle (LPDIRECT3DTEXTURE9 tex)
 
static INLINE void d3d9_lock_rectangle_clear (void *tex, unsigned level, D3DLOCKED_RECT *lr, RECT *rect, unsigned rectangle_height, unsigned flags)
 
static INLINE void d3d9_set_texture (LPDIRECT3DDEVICE9 dev, unsigned sampler, LPDIRECT3DTEXTURE9 tex)
 
static INLINE bool d3d9_create_vertex_shader (LPDIRECT3DDEVICE9 dev, const DWORD *a, void **b)
 
static INLINE bool d3d9_create_pixel_shader (LPDIRECT3DDEVICE9 dev, const DWORD *a, void **b)
 
static INLINE void d3d9_free_vertex_shader (LPDIRECT3DDEVICE9 dev, IDirect3DVertexShader9 *vs)
 
static INLINE void d3d9_free_pixel_shader (LPDIRECT3DDEVICE9 dev, IDirect3DPixelShader9 *ps)
 
static INLINE bool d3d9_set_pixel_shader (LPDIRECT3DDEVICE9 dev, LPDIRECT3DPIXELSHADER9 shader)
 
static INLINE bool d3d9_set_vertex_shader (LPDIRECT3DDEVICE9 dev, LPDIRECT3DVERTEXSHADER9 shader)
 
static INLINE bool d3d9_set_vertex_shader_constantf (LPDIRECT3DDEVICE9 dev, UINT start_register, const float *constant_data, unsigned vector4f_count)
 
static INLINE void d3d9_texture_blit (unsigned pixel_size, void *tex, D3DLOCKED_RECT *lr, const void *frame, unsigned width, unsigned height, unsigned pitch)
 
static INLINE bool d3d9_vertex_declaration_new (LPDIRECT3DDEVICE9 dev, const void *vertex_data, void **decl_data)
 
static INLINE void d3d9_vertex_declaration_free (LPDIRECT3DVERTEXDECLARATION9 decl)
 
static INLINE void d3d9_set_viewports (LPDIRECT3DDEVICE9 dev, void *vp)
 
static INLINE void d3d9_set_render_state (LPDIRECT3DDEVICE9 dev, D3DRENDERSTATETYPE state, DWORD value)
 
static INLINE void d3d9_enable_blend_func (LPDIRECT3DDEVICE9 dev)
 
static INLINE void d3d9_disable_blend_func (LPDIRECT3DDEVICE9 dev)
 
static INLINE void d3d9_set_vertex_declaration (LPDIRECT3DDEVICE9 dev, LPDIRECT3DVERTEXDECLARATION9 vertex_data)
 
static INLINE void d3d9_set_texture_stage_state (LPDIRECT3DDEVICE9 dev, unsigned sampler, D3DTEXTURESTAGESTATETYPE type, unsigned value)
 
static INLINE void d3d9_enable_alpha_blend_texture_func (LPDIRECT3DDEVICE9 dev)
 
void d3d9_frame_postprocess (void *data)
 
static INLINE void d3d9_surface_free (LPDIRECT3DSURFACE9 surf)
 
static INLINE bool d3d9_device_get_render_target_data (LPDIRECT3DDEVICE9 dev, LPDIRECT3DSURFACE9 src, LPDIRECT3DSURFACE9 dst)
 
static INLINE bool d3d9_device_get_render_target (LPDIRECT3DDEVICE9 dev, unsigned idx, void **data)
 
static INLINE void d3d9_device_set_render_target (LPDIRECT3DDEVICE9 dev, unsigned idx, LPDIRECT3DSURFACE9 surf)
 
static INLINE bool d3d9_get_render_state (LPDIRECT3DDEVICE9 dev, INT32 state, DWORD *value)
 
static INLINE bool d3d9_device_create_offscreen_plain_surface (LPDIRECT3DDEVICE9 dev, unsigned width, unsigned height, unsigned format, unsigned pool, void **surf_data, void *data)
 
static INLINE bool d3d9_surface_lock_rect (LPDIRECT3DSURFACE9 surf, D3DLOCKED_RECT *data2)
 
static INLINE void d3d9_surface_unlock_rect (LPDIRECT3DSURFACE9 surf)
 
static INLINE bool d3d9_get_adapter_display_mode (LPDIRECT3D9 d3d, unsigned idx, D3DDISPLAYMODE *display_mode)
 
bool d3d9_create_device (void *dev, void *d3dpp, void *d3d, HWND focus_window, unsigned cur_mon_id)
 
bool d3d9_reset (void *dev, void *d3dpp)
 
static INLINE bool d3d9_device_get_backbuffer (LPDIRECT3DDEVICE9 dev, unsigned idx, unsigned swapchain_idx, unsigned backbuffer_type, void **data)
 
static INLINE void d3d9_device_free (LPDIRECT3DDEVICE9 dev, LPDIRECT3D9 pd3d)
 
voidd3d9_create (void)
 
bool d3d9_initialize_symbols (enum gfx_ctx_api api)
 
void d3d9_deinitialize_symbols (void)
 
static INLINE bool d3d9_check_device_type (LPDIRECT3D9 d3d, unsigned idx, INT32 disp_format, INT32 backbuffer_format, bool windowed_mode)
 
bool d3d9x_create_font_indirect (void *dev, void *desc, void **font_data)
 
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_get_text_metrics (void *data, void *metrics)
 
void d3d9x_buffer_release (void *data)
 
void d3d9x_font_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)
 
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)
 
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 voidd3d9x_get_buffer_ptr (void *data)
 
const bool d3d9x_constant_table_set_float (void *p, void *a, void *b, float val)
 
voidd3d9x_constant_table_get_constant_by_name (void *_tbl, void *_handle, void *_name)
 
static INLINE INT32 d3d9_get_rgb565_format (void)
 
static INLINE INT32 d3d9_get_argb8888_format (void)
 
static INLINE INT32 d3d9_get_xrgb8888_format (void)
 
static INLINE void d3d9_convert_geometry (const struct LinkInfo *info, unsigned *out_width, unsigned *out_height, unsigned width, unsigned height, D3DVIEWPORT9 *final_viewport)
 

Macro Definition Documentation

◆ D3D9_DECL_FVF_TEXCOORD

#define D3D9_DECL_FVF_TEXCOORD (   stream,
  offset,
  index 
)
Value:
{ (WORD)(stream), (WORD)(offset * sizeof(float)), D3DDECLTYPE_FLOAT2, D3DDECLMETHOD_DEFAULT, \
Definition: d3d9types.h:736
Definition: d3d9types.h:721
GLuint index
Definition: glext.h:6671
GLuint GLuint stream
Definition: glext.h:8189
GLintptr offset
Definition: glext.h:6560
Definition: d3d9types.h:704

Typedef Documentation

◆ d3d9_renderchain_driver_t

◆ d3d9_video_t

typedef struct d3d9_video d3d9_video_t

Function Documentation

◆ d3d9_begin_scene()

static INLINE bool d3d9_begin_scene ( LPDIRECT3DDEVICE9  dev)
static
Here is the caller graph for this function:

◆ d3d9_check_device_type()

static INLINE bool d3d9_check_device_type ( LPDIRECT3D9  d3d,
unsigned  idx,
INT32  disp_format,
INT32  backbuffer_format,
bool  windowed_mode 
)
static

◆ d3d9_clear()

static INLINE void d3d9_clear ( LPDIRECT3DDEVICE9  dev,
unsigned  count,
const D3DRECT rects,
unsigned  flags,
INT32  color,
float  z,
unsigned  stencil 
)
static
Here is the caller graph for this function:

◆ d3d9_convert_geometry()

static INLINE void d3d9_convert_geometry ( const struct LinkInfo info,
unsigned *  out_width,
unsigned *  out_height,
unsigned  width,
unsigned  height,
D3DVIEWPORT9 final_viewport 
)
static
Here is the caller graph for this function:

◆ 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_pixel_shader()

static INLINE bool d3d9_create_pixel_shader ( LPDIRECT3DDEVICE9  dev,
const DWORD *  a,
void **  b 
)
static
Here is the caller graph for this function:

◆ d3d9_create_vertex_shader()

static INLINE bool d3d9_create_vertex_shader ( LPDIRECT3DDEVICE9  dev,
const DWORD *  a,
void **  b 
)
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_device_create_offscreen_plain_surface()

static INLINE bool d3d9_device_create_offscreen_plain_surface ( LPDIRECT3DDEVICE9  dev,
unsigned  width,
unsigned  height,
unsigned  format,
unsigned  pool,
void **  surf_data,
void data 
)
static
Here is the caller graph for this function:

◆ d3d9_device_free()

static INLINE void d3d9_device_free ( LPDIRECT3DDEVICE9  dev,
LPDIRECT3D9  pd3d 
)
static
Here is the caller graph for this function:

◆ d3d9_device_get_backbuffer()

static INLINE bool d3d9_device_get_backbuffer ( LPDIRECT3DDEVICE9  dev,
unsigned  idx,
unsigned  swapchain_idx,
unsigned  backbuffer_type,
void **  data 
)
static

◆ d3d9_device_get_render_target()

static INLINE bool d3d9_device_get_render_target ( LPDIRECT3DDEVICE9  dev,
unsigned  idx,
void **  data 
)
static
Here is the caller graph for this function:

◆ d3d9_device_get_render_target_data()

static INLINE bool d3d9_device_get_render_target_data ( LPDIRECT3DDEVICE9  dev,
LPDIRECT3DSURFACE9  src,
LPDIRECT3DSURFACE9  dst 
)
static
Here is the caller graph for this function:

◆ d3d9_device_set_render_target()

static INLINE void d3d9_device_set_render_target ( LPDIRECT3DDEVICE9  dev,
unsigned  idx,
LPDIRECT3DSURFACE9  surf 
)
static
Here is the caller graph for this function:

◆ d3d9_disable_blend_func()

static INLINE void d3d9_disable_blend_func ( LPDIRECT3DDEVICE9  dev)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_draw_primitive()

static INLINE void d3d9_draw_primitive ( LPDIRECT3DDEVICE9  dev,
D3DPRIMITIVETYPE  type,
unsigned  start,
unsigned  count 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_enable_alpha_blend_texture_func()

static INLINE void d3d9_enable_alpha_blend_texture_func ( LPDIRECT3DDEVICE9  dev)
static
Here is the call graph for this function:

◆ d3d9_enable_blend_func()

static INLINE void d3d9_enable_blend_func ( LPDIRECT3DDEVICE9  dev)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_end_scene()

static INLINE void d3d9_end_scene ( LPDIRECT3DDEVICE9  dev)
static
Here is the caller graph for this function:

◆ d3d9_frame_postprocess()

void d3d9_frame_postprocess ( void data)

◆ d3d9_free_pixel_shader()

static INLINE void d3d9_free_pixel_shader ( LPDIRECT3DDEVICE9  dev,
IDirect3DPixelShader9 ps 
)
static
Here is the caller graph for this function:

◆ d3d9_free_vertex_shader()

static INLINE void d3d9_free_vertex_shader ( LPDIRECT3DDEVICE9  dev,
IDirect3DVertexShader9 vs 
)
static
Here is the caller graph for this function:

◆ d3d9_get_adapter_display_mode()

static INLINE bool d3d9_get_adapter_display_mode ( LPDIRECT3D9  d3d,
unsigned  idx,
D3DDISPLAYMODE display_mode 
)
static
Here is the caller graph for this function:

◆ d3d9_get_argb8888_format()

static INLINE INT32 d3d9_get_argb8888_format ( void  )
static
Here is the caller graph for this function:

◆ d3d9_get_render_state()

static INLINE bool d3d9_get_render_state ( LPDIRECT3DDEVICE9  dev,
INT32  state,
DWORD *  value 
)
static
Here is the caller graph for this function:

◆ d3d9_get_rgb565_format()

static INLINE INT32 d3d9_get_rgb565_format ( void  )
static
Here is the caller graph for this function:

◆ d3d9_get_xrgb8888_format()

static INLINE INT32 d3d9_get_xrgb8888_format ( void  )
static
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_lock_rectangle()

static INLINE bool d3d9_lock_rectangle ( LPDIRECT3DTEXTURE9  tex,
unsigned  level,
D3DLOCKED_RECT lr,
const RECT *  rect,
unsigned  rectangle_height,
unsigned  flags 
)
static
Here is the caller graph for this function:

◆ d3d9_lock_rectangle_clear()

static INLINE void d3d9_lock_rectangle_clear ( void tex,
unsigned  level,
D3DLOCKED_RECT lr,
RECT *  rect,
unsigned  rectangle_height,
unsigned  flags 
)
static
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_set_pixel_shader()

static INLINE bool d3d9_set_pixel_shader ( LPDIRECT3DDEVICE9  dev,
LPDIRECT3DPIXELSHADER9  shader 
)
static
Here is the caller graph for this function:

◆ d3d9_set_render_state()

static INLINE void d3d9_set_render_state ( LPDIRECT3DDEVICE9  dev,
D3DRENDERSTATETYPE  state,
DWORD  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_sampler_address_u()

static INLINE void d3d9_set_sampler_address_u ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
unsigned  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_sampler_address_v()

static INLINE void d3d9_set_sampler_address_v ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
unsigned  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_sampler_magfilter()

static INLINE void d3d9_set_sampler_magfilter ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
unsigned  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_sampler_minfilter()

static INLINE void d3d9_set_sampler_minfilter ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
unsigned  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_sampler_mipfilter()

static INLINE void d3d9_set_sampler_mipfilter ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
unsigned  value 
)
static
Here is the caller graph for this function:

◆ d3d9_set_stream_source()

static INLINE void d3d9_set_stream_source ( LPDIRECT3DDEVICE9  dev,
unsigned  stream_no,
LPDIRECT3DVERTEXBUFFER9  stream_vertbuf,
unsigned  offset_bytes,
unsigned  stride 
)
static
Here is the caller graph for this function:

◆ d3d9_set_texture()

static INLINE void d3d9_set_texture ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
LPDIRECT3DTEXTURE9  tex 
)
static
Here is the caller graph for this function:

◆ d3d9_set_texture_stage_state()

static INLINE void d3d9_set_texture_stage_state ( LPDIRECT3DDEVICE9  dev,
unsigned  sampler,
D3DTEXTURESTAGESTATETYPE  type,
unsigned  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_set_transform()

static INLINE void d3d9_set_transform ( LPDIRECT3DDEVICE9  dev,
D3DTRANSFORMSTATETYPE  state,
CONST D3DMATRIX matrix 
)
static
Here is the caller graph for this function:

◆ d3d9_set_vertex_declaration()

static INLINE void d3d9_set_vertex_declaration ( LPDIRECT3DDEVICE9  dev,
LPDIRECT3DVERTEXDECLARATION9  vertex_data 
)
static
Here is the caller graph for this function:

◆ d3d9_set_vertex_shader()

static INLINE bool d3d9_set_vertex_shader ( LPDIRECT3DDEVICE9  dev,
LPDIRECT3DVERTEXSHADER9  shader 
)
static
Here is the caller graph for this function:

◆ d3d9_set_vertex_shader_constantf()

static INLINE bool d3d9_set_vertex_shader_constantf ( LPDIRECT3DDEVICE9  dev,
UINT  start_register,
const float *  constant_data,
unsigned  vector4f_count 
)
static
Here is the caller graph for this function:

◆ d3d9_set_viewports()

static INLINE void d3d9_set_viewports ( LPDIRECT3DDEVICE9  dev,
void vp 
)
static
Here is the caller graph for this function:

◆ d3d9_surface_free()

static INLINE void d3d9_surface_free ( LPDIRECT3DSURFACE9  surf)
static
Here is the caller graph for this function:

◆ d3d9_surface_lock_rect()

static INLINE bool d3d9_surface_lock_rect ( LPDIRECT3DSURFACE9  surf,
D3DLOCKED_RECT data2 
)
static
Here is the caller graph for this function:

◆ d3d9_surface_unlock_rect()

static INLINE void d3d9_surface_unlock_rect ( LPDIRECT3DSURFACE9  surf)
static
Here is the caller graph for this function:

◆ d3d9_swap()

static INLINE bool d3d9_swap ( void data,
LPDIRECT3DDEVICE9  dev 
)
static
Here is the caller graph for this function:

◆ d3d9_texture_blit()

static INLINE void d3d9_texture_blit ( unsigned  pixel_size,
void tex,
D3DLOCKED_RECT lr,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ d3d9_texture_free()

static INLINE void d3d9_texture_free ( LPDIRECT3DTEXTURE9  tex)
static
Here is the caller graph for this function:

◆ d3d9_texture_get_level_desc()

static INLINE bool d3d9_texture_get_level_desc ( LPDIRECT3DTEXTURE9  tex,
unsigned  idx,
D3DSURFACE_DESC _ppsurface_level 
)
static
Here is the caller graph for this function:

◆ d3d9_texture_get_surface_level()

static INLINE bool d3d9_texture_get_surface_level ( LPDIRECT3DTEXTURE9  tex,
unsigned  idx,
void **  _ppsurface_level 
)
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,
PALETTEENTRY *  palette,
bool  want_mipmap 
)
Here is the caller graph for this function:

◆ d3d9_unlock_rectangle()

static INLINE void d3d9_unlock_rectangle ( LPDIRECT3DTEXTURE9  tex)
static
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_lock()

static INLINE void* d3d9_vertex_buffer_lock ( LPDIRECT3DVERTEXBUFFER9  vertbuf)
static
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:

◆ d3d9_vertex_buffer_unlock()

static INLINE void d3d9_vertex_buffer_unlock ( LPDIRECT3DVERTEXBUFFER9  vertbuf)
static
Here is the caller graph for this function:

◆ d3d9_vertex_declaration_free()

static INLINE void d3d9_vertex_declaration_free ( LPDIRECT3DVERTEXDECLARATION9  decl)
static
Here is the caller graph for this function:

◆ d3d9_vertex_declaration_new()

static INLINE bool d3d9_vertex_declaration_new ( LPDIRECT3DDEVICE9  dev,
const void vertex_data,
void **  decl_data 
)
static
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: