|
static INLINE bool | d3d9_swap (void *data, LPDIRECT3DDEVICE9 dev) |
|
void * | d3d9_vertex_buffer_new (void *dev, unsigned length, unsigned usage, unsigned fvf, INT32 pool, void *handle) |
|
static INLINE void * | d3d9_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) |
|
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) |
|
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) |
|
void * | d3d9_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 void * | d3d9x_get_buffer_ptr (void *data) |
|
const bool | d3d9x_constant_table_set_float (void *p, void *a, void *b, float val) |
|
void * | d3d9x_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) |
|