|
static INLINE bool | d3d8_swap (void *data, LPDIRECT3DDEVICE8 dev) |
|
static INLINE void * | d3d8_vertex_buffer_new (LPDIRECT3DDEVICE8 dev, unsigned length, unsigned usage, unsigned fvf, D3DPOOL pool, void *handle) |
|
static INLINE void * | d3d8_vertex_buffer_lock (LPDIRECT3DVERTEXBUFFER8 vertbuf) |
|
static INLINE void | d3d8_vertex_buffer_unlock (LPDIRECT3DVERTEXBUFFER8 vertbuf) |
|
static INLINE void | d3d8_vertex_buffer_free (LPDIRECT3DVERTEXBUFFER8 buf, void *vertex_declaration) |
|
static INLINE bool | d3d8_texture_get_level_desc (LPDIRECT3DTEXTURE8 tex, unsigned idx, void *_ppsurface_level) |
|
static INLINE bool | d3d8_texture_get_surface_level (LPDIRECT3DTEXTURE8 tex, unsigned idx, void **_ppsurface_level) |
|
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) |
|
static INLINE void | d3d8_set_stream_source (LPDIRECT3DDEVICE8 dev, unsigned stream_no, LPDIRECT3DVERTEXBUFFER8 stream_vertbuf, unsigned offset_bytes, unsigned stride) |
|
static INLINE void | d3d8_texture_free (LPDIRECT3DTEXTURE8 tex) |
|
static INLINE void | d3d8_set_transform (LPDIRECT3DDEVICE8 dev, D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) |
|
static INLINE void | d3d8_set_texture_stage_state (LPDIRECT3DDEVICE8 dev, unsigned sampler, D3DTEXTURESTAGESTATETYPE type, unsigned value) |
|
static INLINE void | d3d8_set_sampler_address_u (LPDIRECT3DDEVICE8 dev, unsigned sampler, unsigned value) |
|
static INLINE void | d3d8_set_sampler_address_v (LPDIRECT3DDEVICE8 dev, unsigned sampler, unsigned value) |
|
static INLINE void | d3d8_set_sampler_minfilter (void *_dev, unsigned sampler, unsigned value) |
|
static INLINE void | d3d8_set_sampler_magfilter (void *_dev, unsigned sampler, unsigned value) |
|
void | d3d8_set_sampler_mipfilter (void *dev, unsigned sampler, unsigned value) |
|
static INLINE bool | d3d8_begin_scene (LPDIRECT3DDEVICE8 dev) |
|
static INLINE void | d3d8_end_scene (LPDIRECT3DDEVICE8 dev) |
|
static INLINE void | d3d8_draw_primitive (LPDIRECT3DDEVICE8 dev, D3DPRIMITIVETYPE type, unsigned start, unsigned count) |
|
static INLINE void | d3d8_clear (LPDIRECT3DDEVICE8 dev, unsigned count, const void *rects, unsigned flags, INT32 color, float z, unsigned stencil) |
|
static INLINE bool | d3d8_lock_rectangle (LPDIRECT3DTEXTURE8 tex, unsigned level, D3DLOCKED_RECT *lr, RECT *rect, unsigned rectangle_height, unsigned flags) |
|
static INLINE void | d3d8_unlock_rectangle (LPDIRECT3DTEXTURE8 tex) |
|
static INLINE void | d3d8_lock_rectangle_clear (void *tex, unsigned level, D3DLOCKED_RECT *lr, RECT *rect, unsigned rectangle_height, unsigned flags) |
|
static INLINE void | d3d8_set_texture (LPDIRECT3DDEVICE8 dev, unsigned sampler, LPDIRECT3DTEXTURE8 tex) |
|
static INLINE bool | d3d8_set_vertex_shader (LPDIRECT3DDEVICE8 dev, unsigned index, void *data) |
|
static INLINE void | d3d8_texture_blit (unsigned pixel_size, void *tex, D3DLOCKED_RECT *lr, const void *frame, unsigned width, unsigned height, unsigned pitch) |
|
static INLINE void | d3d8_set_viewports (LPDIRECT3DDEVICE8 dev, void *vp) |
|
static INLINE void | d3d8_set_render_state (LPDIRECT3DDEVICE8 dev, D3DRENDERSTATETYPE state, DWORD value) |
|
static INLINE void | d3d8_enable_blend_func (void *data) |
|
static INLINE void | d3d8_disable_blend_func (void *data) |
|
static INLINE void | d3d8_enable_alpha_blend_texture_func (void *data) |
|
void | d3d8_frame_postprocess (void *data) |
|
static INLINE void | d3d8_surface_free (LPDIRECT3DSURFACE8 surf) |
|
static INLINE bool | d3d8_device_get_render_target (LPDIRECT3DDEVICE8 dev, unsigned idx, void **data) |
|
static INLINE void | d3d8_device_set_render_target (LPDIRECT3DDEVICE8 dev, unsigned idx, LPDIRECT3DSURFACE8 surf) |
|
static INLINE bool | d3d8_get_render_state (LPDIRECT3DDEVICE8 dev, D3DRENDERSTATETYPE state, DWORD *value) |
|
static INLINE bool | d3d8_surface_lock_rect (LPDIRECT3DSURFACE8 surf, void *data2) |
|
static INLINE void | d3d8_surface_unlock_rect (LPDIRECT3DSURFACE8 surf) |
|
static INLINE bool | d3d8_get_adapter_display_mode (LPDIRECT3D8 d3d, unsigned idx, void *display_mode) |
|
bool | d3d8_create_device (void *dev, void *d3dpp, LPDIRECT3D8 d3d, HWND focus_window, unsigned cur_mon_id) |
|
bool | d3d8_reset (void *dev, void *d3dpp) |
|
static INLINE bool | d3d8_device_get_backbuffer (LPDIRECT3DDEVICE8 dev, unsigned idx, unsigned swapchain_idx, unsigned backbuffer_type, void **data) |
|
static INLINE void | d3d8_device_free (LPDIRECT3DDEVICE8 dev, LPDIRECT3D8 pd3d) |
|
void * | d3d8_create (void) |
|
bool | d3d8_initialize_symbols (enum gfx_ctx_api api) |
|
void | d3d8_deinitialize_symbols (void) |
|
static INLINE bool | d3d8_check_device_type (LPDIRECT3D8 d3d, unsigned idx, INT32 disp_format, INT32 backbuffer_format, bool windowed_mode) |
|
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_get_text_metrics (void *data, void *metrics) |
|
void | d3d8x_font_release (void *data) |
|
static INLINE INT32 | d3d8_get_rgb565_format (void) |
|
static INLINE INT32 | d3d8_get_argb8888_format (void) |
|
static INLINE INT32 | d3d8_get_xrgb8888_format (void) |
|