|
| WINE_DEFAULT_DEBUG_CHANNEL (d3d8) |
|
static void STDMETHODCALLTYPE | d3d8_null_wined3d_object_destroyed (void *parent) |
|
D3DFORMAT | d3dformat_from_wined3dformat (enum wined3d_format_id format) |
|
enum wined3d_format_id | wined3dformat_from_d3dformat (D3DFORMAT format) |
|
unsigned int | wined3dmapflags_from_d3dmapflags (unsigned int flags) |
|
static UINT | vertex_count_from_primitive_count (D3DPRIMITIVETYPE primitive_type, UINT primitive_count) |
|
static D3DSWAPEFFECT | d3dswapeffect_from_wined3dswapeffect (enum wined3d_swap_effect effect) |
|
static void | present_parameters_from_wined3d_swapchain_desc (D3DPRESENT_PARAMETERS *present_parameters, const struct wined3d_swapchain_desc *swapchain_desc) |
|
static enum wined3d_swap_effect | wined3dswapeffect_from_d3dswapeffect (D3DSWAPEFFECT effect) |
|
static BOOL | wined3d_swapchain_desc_from_present_parameters (struct wined3d_swapchain_desc *swapchain_desc, const D3DPRESENT_PARAMETERS *present_parameters) |
|
void | d3dcaps_from_wined3dcaps (D3DCAPS8 *caps, const WINED3DCAPS *wined3d_caps) |
|
static DWORD | d3d8_allocate_handle (struct d3d8_handle_table *t, void *object, enum d3d8_handle_type type) |
|
static void * | d3d8_free_handle (struct d3d8_handle_table *t, DWORD handle, enum d3d8_handle_type type) |
|
static void * | d3d8_get_object (struct d3d8_handle_table *t, DWORD handle, enum d3d8_handle_type type) |
|
static HRESULT WINAPI | d3d8_device_QueryInterface (IDirect3DDevice8 *iface, REFIID riid, void **out) |
|
static ULONG WINAPI | d3d8_device_AddRef (IDirect3DDevice8 *iface) |
|
static ULONG WINAPI | d3d8_device_Release (IDirect3DDevice8 *iface) |
|
static HRESULT WINAPI | d3d8_device_TestCooperativeLevel (IDirect3DDevice8 *iface) |
|
static UINT WINAPI | d3d8_device_GetAvailableTextureMem (IDirect3DDevice8 *iface) |
|
static HRESULT WINAPI | d3d8_device_ResourceManagerDiscardBytes (IDirect3DDevice8 *iface, DWORD byte_count) |
|
static HRESULT WINAPI | d3d8_device_GetDirect3D (IDirect3DDevice8 *iface, IDirect3D8 **d3d8) |
|
static HRESULT WINAPI | d3d8_device_GetDeviceCaps (IDirect3DDevice8 *iface, D3DCAPS8 *caps) |
|
static HRESULT WINAPI | d3d8_device_GetDisplayMode (IDirect3DDevice8 *iface, D3DDISPLAYMODE *mode) |
|
static HRESULT WINAPI | d3d8_device_GetCreationParameters (IDirect3DDevice8 *iface, D3DDEVICE_CREATION_PARAMETERS *parameters) |
|
static HRESULT WINAPI | d3d8_device_SetCursorProperties (IDirect3DDevice8 *iface, UINT hotspot_x, UINT hotspot_y, IDirect3DSurface8 *bitmap) |
|
static void WINAPI | d3d8_device_SetCursorPosition (IDirect3DDevice8 *iface, UINT x, UINT y, DWORD flags) |
|
static BOOL WINAPI | d3d8_device_ShowCursor (IDirect3DDevice8 *iface, BOOL show) |
|
static HRESULT WINAPI | d3d8_device_CreateAdditionalSwapChain (IDirect3DDevice8 *iface, D3DPRESENT_PARAMETERS *present_parameters, IDirect3DSwapChain8 **swapchain) |
|
static HRESULT CDECL | reset_enum_callback (struct wined3d_resource *resource) |
|
static HRESULT WINAPI | d3d8_device_Reset (IDirect3DDevice8 *iface, D3DPRESENT_PARAMETERS *present_parameters) |
|
static HRESULT WINAPI | d3d8_device_Present (IDirect3DDevice8 *iface, const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region) |
|
static HRESULT WINAPI | d3d8_device_GetBackBuffer (IDirect3DDevice8 *iface, UINT backbuffer_idx, D3DBACKBUFFER_TYPE backbuffer_type, IDirect3DSurface8 **backbuffer) |
|
static HRESULT WINAPI | d3d8_device_GetRasterStatus (IDirect3DDevice8 *iface, D3DRASTER_STATUS *raster_status) |
|
static void WINAPI | d3d8_device_SetGammaRamp (IDirect3DDevice8 *iface, DWORD flags, const D3DGAMMARAMP *ramp) |
|
static void WINAPI | d3d8_device_GetGammaRamp (IDirect3DDevice8 *iface, D3DGAMMARAMP *ramp) |
|
static HRESULT WINAPI | d3d8_device_CreateTexture (IDirect3DDevice8 *iface, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture8 **texture) |
|
static HRESULT WINAPI | d3d8_device_CreateVolumeTexture (IDirect3DDevice8 *iface, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DVolumeTexture8 **texture) |
|
static HRESULT WINAPI | d3d8_device_CreateCubeTexture (IDirect3DDevice8 *iface, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DCubeTexture8 **texture) |
|
static HRESULT WINAPI | d3d8_device_CreateVertexBuffer (IDirect3DDevice8 *iface, UINT size, DWORD usage, DWORD fvf, D3DPOOL pool, IDirect3DVertexBuffer8 **buffer) |
|
static HRESULT WINAPI | d3d8_device_CreateIndexBuffer (IDirect3DDevice8 *iface, UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool, IDirect3DIndexBuffer8 **buffer) |
|
static HRESULT | d3d8_device_create_surface (struct d3d8_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, IDirect3DSurface8 **surface, UINT usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) |
|
static HRESULT WINAPI | d3d8_device_CreateRenderTarget (IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multisample_type, BOOL lockable, IDirect3DSurface8 **surface) |
|
static HRESULT WINAPI | d3d8_device_CreateDepthStencilSurface (IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multisample_type, IDirect3DSurface8 **surface) |
|
static HRESULT WINAPI | d3d8_device_CreateImageSurface (IDirect3DDevice8 *iface, UINT width, UINT height, D3DFORMAT format, IDirect3DSurface8 **surface) |
|
static HRESULT WINAPI | d3d8_device_CopyRects (IDirect3DDevice8 *iface, IDirect3DSurface8 *src_surface, const RECT *src_rects, UINT rect_count, IDirect3DSurface8 *dst_surface, const POINT *dst_points) |
|
static HRESULT WINAPI | d3d8_device_UpdateTexture (IDirect3DDevice8 *iface, IDirect3DBaseTexture8 *src_texture, IDirect3DBaseTexture8 *dst_texture) |
|
static HRESULT WINAPI | d3d8_device_GetFrontBuffer (IDirect3DDevice8 *iface, IDirect3DSurface8 *dst_surface) |
|
static HRESULT WINAPI | d3d8_device_SetRenderTarget (IDirect3DDevice8 *iface, IDirect3DSurface8 *render_target, IDirect3DSurface8 *depth_stencil) |
|
static HRESULT WINAPI | d3d8_device_GetRenderTarget (IDirect3DDevice8 *iface, IDirect3DSurface8 **render_target) |
|
static HRESULT WINAPI | d3d8_device_GetDepthStencilSurface (IDirect3DDevice8 *iface, IDirect3DSurface8 **depth_stencil) |
|
static HRESULT WINAPI | d3d8_device_BeginScene (IDirect3DDevice8 *iface) |
|
static HRESULT WINAPI DECLSPEC_HOTPATCH | d3d8_device_EndScene (IDirect3DDevice8 *iface) |
|
static HRESULT WINAPI | d3d8_device_Clear (IDirect3DDevice8 *iface, DWORD rect_count, const D3DRECT *rects, DWORD flags, D3DCOLOR color, float z, DWORD stencil) |
|
static HRESULT WINAPI | d3d8_device_SetTransform (IDirect3DDevice8 *iface, D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) |
|
static HRESULT WINAPI | d3d8_device_GetTransform (IDirect3DDevice8 *iface, D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) |
|
static HRESULT WINAPI | d3d8_device_MultiplyTransform (IDirect3DDevice8 *iface, D3DTRANSFORMSTATETYPE state, const D3DMATRIX *matrix) |
|
static HRESULT WINAPI | d3d8_device_SetViewport (IDirect3DDevice8 *iface, const D3DVIEWPORT8 *viewport) |
|
static HRESULT WINAPI | d3d8_device_GetViewport (IDirect3DDevice8 *iface, D3DVIEWPORT8 *viewport) |
|
static HRESULT WINAPI | d3d8_device_SetMaterial (IDirect3DDevice8 *iface, const D3DMATERIAL8 *material) |
|
static HRESULT WINAPI | d3d8_device_GetMaterial (IDirect3DDevice8 *iface, D3DMATERIAL8 *material) |
|
static HRESULT WINAPI | d3d8_device_SetLight (IDirect3DDevice8 *iface, DWORD index, const D3DLIGHT8 *light) |
|
static HRESULT WINAPI | d3d8_device_GetLight (IDirect3DDevice8 *iface, DWORD index, D3DLIGHT8 *light) |
|
static HRESULT WINAPI | d3d8_device_LightEnable (IDirect3DDevice8 *iface, DWORD index, BOOL enable) |
|
static HRESULT WINAPI | d3d8_device_GetLightEnable (IDirect3DDevice8 *iface, DWORD index, BOOL *enable) |
|
static HRESULT WINAPI | d3d8_device_SetClipPlane (IDirect3DDevice8 *iface, DWORD index, const float *plane) |
|
static HRESULT WINAPI | d3d8_device_GetClipPlane (IDirect3DDevice8 *iface, DWORD index, float *plane) |
|
static HRESULT WINAPI | d3d8_device_SetRenderState (IDirect3DDevice8 *iface, D3DRENDERSTATETYPE state, DWORD value) |
|
static HRESULT WINAPI | d3d8_device_GetRenderState (IDirect3DDevice8 *iface, D3DRENDERSTATETYPE state, DWORD *value) |
|
static HRESULT WINAPI | d3d8_device_BeginStateBlock (IDirect3DDevice8 *iface) |
|
static HRESULT WINAPI | d3d8_device_EndStateBlock (IDirect3DDevice8 *iface, DWORD *token) |
|
static HRESULT WINAPI | d3d8_device_ApplyStateBlock (IDirect3DDevice8 *iface, DWORD token) |
|
static HRESULT WINAPI | d3d8_device_CaptureStateBlock (IDirect3DDevice8 *iface, DWORD token) |
|
static HRESULT WINAPI | d3d8_device_DeleteStateBlock (IDirect3DDevice8 *iface, DWORD token) |
|
static HRESULT WINAPI | d3d8_device_CreateStateBlock (IDirect3DDevice8 *iface, D3DSTATEBLOCKTYPE type, DWORD *handle) |
|
static HRESULT WINAPI | d3d8_device_SetClipStatus (IDirect3DDevice8 *iface, const D3DCLIPSTATUS8 *clip_status) |
|
static HRESULT WINAPI | d3d8_device_GetClipStatus (IDirect3DDevice8 *iface, D3DCLIPSTATUS8 *clip_status) |
|
static HRESULT WINAPI | d3d8_device_GetTexture (IDirect3DDevice8 *iface, DWORD stage, IDirect3DBaseTexture8 **texture) |
|
static HRESULT WINAPI | d3d8_device_SetTexture (IDirect3DDevice8 *iface, DWORD stage, IDirect3DBaseTexture8 *texture) |
|
static HRESULT WINAPI | d3d8_device_GetTextureStageState (IDirect3DDevice8 *iface, DWORD stage, D3DTEXTURESTAGESTATETYPE Type, DWORD *value) |
|
static HRESULT WINAPI | d3d8_device_SetTextureStageState (IDirect3DDevice8 *iface, DWORD stage, D3DTEXTURESTAGESTATETYPE type, DWORD value) |
|
static HRESULT WINAPI | d3d8_device_ValidateDevice (IDirect3DDevice8 *iface, DWORD *pass_count) |
|
static HRESULT WINAPI | d3d8_device_GetInfo (IDirect3DDevice8 *iface, DWORD info_id, void *info, DWORD info_size) |
|
static HRESULT WINAPI | d3d8_device_SetPaletteEntries (IDirect3DDevice8 *iface, UINT palette_idx, const PALETTEENTRY *entries) |
|
static HRESULT WINAPI | d3d8_device_GetPaletteEntries (IDirect3DDevice8 *iface, UINT palette_idx, PALETTEENTRY *entries) |
|
static HRESULT WINAPI | d3d8_device_SetCurrentTexturePalette (IDirect3DDevice8 *iface, UINT palette_idx) |
|
static HRESULT WINAPI | d3d8_device_GetCurrentTexturePalette (IDirect3DDevice8 *iface, UINT *palette_idx) |
|
static HRESULT WINAPI | d3d8_device_DrawPrimitive (IDirect3DDevice8 *iface, D3DPRIMITIVETYPE primitive_type, UINT start_vertex, UINT primitive_count) |
|
static HRESULT WINAPI | d3d8_device_DrawIndexedPrimitive (IDirect3DDevice8 *iface, D3DPRIMITIVETYPE primitive_type, UINT min_vertex_idx, UINT vertex_count, UINT start_idx, UINT primitive_count) |
|
static HRESULT | d3d8_device_prepare_vertex_buffer (struct d3d8_device *device, UINT min_size) |
|
static HRESULT WINAPI | d3d8_device_DrawPrimitiveUP (IDirect3DDevice8 *iface, D3DPRIMITIVETYPE primitive_type, UINT primitive_count, const void *data, UINT stride) |
|
static HRESULT | d3d8_device_prepare_index_buffer (struct d3d8_device *device, UINT min_size) |
|
static HRESULT WINAPI | d3d8_device_DrawIndexedPrimitiveUP (IDirect3DDevice8 *iface, D3DPRIMITIVETYPE primitive_type, UINT min_vertex_idx, UINT vertex_count, UINT primitive_count, const void *index_data, D3DFORMAT index_format, const void *vertex_data, UINT vertex_stride) |
|
static HRESULT WINAPI | d3d8_device_ProcessVertices (IDirect3DDevice8 *iface, UINT src_start_idx, UINT dst_idx, UINT vertex_count, IDirect3DVertexBuffer8 *dst_buffer, DWORD flags) |
|
static HRESULT WINAPI | d3d8_device_CreateVertexShader (IDirect3DDevice8 *iface, const DWORD *declaration, const DWORD *byte_code, DWORD *shader, DWORD usage) |
|
static struct d3d8_vertex_declaration * | d3d8_device_get_fvf_declaration (struct d3d8_device *device, DWORD fvf) |
|
static HRESULT WINAPI | d3d8_device_SetVertexShader (IDirect3DDevice8 *iface, DWORD shader) |
|
static HRESULT WINAPI | d3d8_device_GetVertexShader (IDirect3DDevice8 *iface, DWORD *shader) |
|
static HRESULT WINAPI | d3d8_device_DeleteVertexShader (IDirect3DDevice8 *iface, DWORD shader) |
|
static HRESULT WINAPI | d3d8_device_SetVertexShaderConstant (IDirect3DDevice8 *iface, DWORD start_register, const void *data, DWORD count) |
|
static HRESULT WINAPI | d3d8_device_GetVertexShaderConstant (IDirect3DDevice8 *iface, DWORD start_register, void *data, DWORD count) |
|
static HRESULT WINAPI | d3d8_device_GetVertexShaderDeclaration (IDirect3DDevice8 *iface, DWORD shader, void *data, DWORD *data_size) |
|
static HRESULT WINAPI | d3d8_device_GetVertexShaderFunction (IDirect3DDevice8 *iface, DWORD shader, void *data, DWORD *data_size) |
|
static HRESULT WINAPI | d3d8_device_SetIndices (IDirect3DDevice8 *iface, IDirect3DIndexBuffer8 *buffer, UINT base_vertex_idx) |
|
static HRESULT WINAPI | d3d8_device_GetIndices (IDirect3DDevice8 *iface, IDirect3DIndexBuffer8 **buffer, UINT *base_vertex_index) |
|
static HRESULT WINAPI | d3d8_device_CreatePixelShader (IDirect3DDevice8 *iface, const DWORD *byte_code, DWORD *shader) |
|
static HRESULT WINAPI | d3d8_device_SetPixelShader (IDirect3DDevice8 *iface, DWORD shader) |
|
static HRESULT WINAPI | d3d8_device_GetPixelShader (IDirect3DDevice8 *iface, DWORD *shader) |
|
static HRESULT WINAPI | d3d8_device_DeletePixelShader (IDirect3DDevice8 *iface, DWORD shader) |
|
static HRESULT WINAPI | d3d8_device_SetPixelShaderConstant (IDirect3DDevice8 *iface, DWORD start_register, const void *data, DWORD count) |
|
static HRESULT WINAPI | d3d8_device_GetPixelShaderConstant (IDirect3DDevice8 *iface, DWORD start_register, void *data, DWORD count) |
|
static HRESULT WINAPI | d3d8_device_GetPixelShaderFunction (IDirect3DDevice8 *iface, DWORD shader, void *data, DWORD *data_size) |
|
static HRESULT WINAPI | d3d8_device_DrawRectPatch (IDirect3DDevice8 *iface, UINT handle, const float *segment_count, const D3DRECTPATCH_INFO *patch_info) |
|
static HRESULT WINAPI | d3d8_device_DrawTriPatch (IDirect3DDevice8 *iface, UINT handle, const float *segment_count, const D3DTRIPATCH_INFO *patch_info) |
|
static HRESULT WINAPI | d3d8_device_DeletePatch (IDirect3DDevice8 *iface, UINT handle) |
|
static HRESULT WINAPI | d3d8_device_SetStreamSource (IDirect3DDevice8 *iface, UINT stream_idx, IDirect3DVertexBuffer8 *buffer, UINT stride) |
|
static HRESULT WINAPI | d3d8_device_GetStreamSource (IDirect3DDevice8 *iface, UINT stream_idx, IDirect3DVertexBuffer8 **buffer, UINT *stride) |
|
static struct d3d8_device * | device_from_device_parent (struct wined3d_device_parent *device_parent) |
|
static void CDECL | device_parent_wined3d_device_created (struct wined3d_device_parent *device_parent, struct wined3d_device *device) |
|
static void CDECL | device_parent_mode_changed (struct wined3d_device_parent *device_parent) |
|
static void CDECL | device_parent_activate (struct wined3d_device_parent *device_parent, BOOL activate) |
|
static HRESULT CDECL | device_parent_surface_created (struct wined3d_device_parent *device_parent, struct wined3d_texture *wined3d_texture, unsigned int sub_resource_idx, void **parent, const struct wined3d_parent_ops **parent_ops) |
|
static HRESULT CDECL | device_parent_volume_created (struct wined3d_device_parent *device_parent, struct wined3d_texture *wined3d_texture, unsigned int sub_resource_idx, void **parent, const struct wined3d_parent_ops **parent_ops) |
|
static HRESULT CDECL | device_parent_create_swapchain_texture (struct wined3d_device_parent *device_parent, void *container_parent, const struct wined3d_resource_desc *desc, DWORD texture_flags, struct wined3d_texture **texture) |
|
static HRESULT CDECL | device_parent_create_swapchain (struct wined3d_device_parent *device_parent, struct wined3d_swapchain_desc *desc, struct wined3d_swapchain **swapchain) |
|
static void | setup_fpu (void) |
|
HRESULT | device_init (struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT adapter, D3DDEVTYPE device_type, HWND focus_window, DWORD flags, D3DPRESENT_PARAMETERS *parameters) |
|