ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | copy_and_next(dest, src, size) memcpy(dest, src, size); dest += (size) |
Variables | |
const struct wined3d_light | WINED3D_default_light |
|
static |
Definition at line 780 of file device.c.
Referenced by wined3d_device_create_primary_opengl_context_cs().
|
static |
Definition at line 604 of file device.c.
Referenced by wined3d_device_create_primary_opengl_context_cs().
|
static |
Definition at line 102 of file device.c.
Referenced by wined3d_device_get_primitive_type().
|
static |
Definition at line 828 of file device.c.
Referenced by wined3d_device_delete_opengl_contexts_cs().
|
static |
Definition at line 739 of file device.c.
Referenced by wined3d_device_delete_opengl_contexts_cs().
void device_clear_render_targets | ( | struct wined3d_device * | device, |
UINT | rt_count, | ||
const struct wined3d_fb_state * | fb, | ||
UINT | rect_count, | ||
const RECT * | clear_rect, | ||
const RECT * | draw_rect, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
Definition at line 224 of file device.c.
Referenced by ffp_blitter_clear().
BOOL device_context_add | ( | struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 146 of file device.c.
Referenced by context_create().
void device_context_remove | ( | struct wined3d_device * | device, |
struct wined3d_context * | context | ||
) |
Definition at line 163 of file device.c.
Referenced by context_create(), and context_destroy().
|
static |
Definition at line 1188 of file device.c.
Referenced by wined3d_device_reset(), and wined3d_device_uninit_3d().
HRESULT device_init | ( | struct wined3d_device * | device, |
struct wined3d * | wined3d, | ||
UINT | adapter_idx, | ||
enum wined3d_device_type | device_type, | ||
HWND | focus_window, | ||
DWORD | flags, | ||
BYTE | surface_alignment, | ||
struct wined3d_device_parent * | device_parent | ||
) |
Definition at line 5195 of file device.c.
|
static |
Definition at line 962 of file device.c.
Referenced by wined3d_device_init_3d(), and wined3d_device_reset().
void device_invalidate_state | ( | const struct wined3d_device * | device, |
DWORD | state | ||
) |
Definition at line 5263 of file device.c.
Referenced by buffer_destroy_buffer_object(), surface_load_fb_texture(), wined3d_cs_exec_draw(), wined3d_cs_exec_set_blend_state(), wined3d_cs_exec_set_clip_plane(), wined3d_cs_exec_set_color_key(), wined3d_cs_exec_set_constant_buffer(), wined3d_cs_exec_set_depth_stencil_view(), wined3d_cs_exec_set_index_buffer(), wined3d_cs_exec_set_light(), wined3d_cs_exec_set_light_enable(), wined3d_cs_exec_set_material(), wined3d_cs_exec_set_rasterizer_state(), wined3d_cs_exec_set_render_state(), wined3d_cs_exec_set_rendertarget_view(), wined3d_cs_exec_set_sampler(), wined3d_cs_exec_set_sampler_state(), wined3d_cs_exec_set_scissor_rect(), wined3d_cs_exec_set_shader(), wined3d_cs_exec_set_shader_resource_view(), wined3d_cs_exec_set_stream_output(), wined3d_cs_exec_set_stream_source(), wined3d_cs_exec_set_stream_source_freq(), wined3d_cs_exec_set_texture(), wined3d_cs_exec_set_texture_state(), wined3d_cs_exec_set_transform(), wined3d_cs_exec_set_unordered_access_view(), wined3d_cs_exec_set_vertex_declaration(), wined3d_cs_exec_set_viewport(), and wined3d_swapchain_rotate().
|
static |
|
static |
Definition at line 547 of file device.c.
Referenced by wined3d_device_init_3d(), and wined3d_device_reset().
LRESULT device_process_message | ( | struct wined3d_device * | device, |
HWND | window, | ||
BOOL | unicode, | ||
UINT | message, | ||
WPARAM | wparam, | ||
LPARAM | lparam, | ||
WNDPROC | proc | ||
) |
Definition at line 5292 of file device.c.
Referenced by wined3d_wndproc().
void device_resource_add | ( | struct wined3d_device * | device, |
struct wined3d_resource * | resource | ||
) |
Definition at line 5081 of file device.c.
Referenced by resource_init().
void device_resource_released | ( | struct wined3d_device * | device, |
struct wined3d_resource * | resource | ||
) |
Definition at line 5099 of file device.c.
Referenced by resource_cleanup().
|
static |
Definition at line 5090 of file device.c.
Referenced by device_resource_released().
Definition at line 845 of file device.c.
Referenced by wined3d_device_restore_fullscreen_window(), and wined3d_device_setup_fullscreen_window().
Definition at line 836 of file device.c.
Referenced by wined3d_device_restore_fullscreen_window(), and wined3d_device_setup_fullscreen_window().
GLenum gl_primitive_type_from_d3d | ( | enum wined3d_primitive_type | primitive_type | ) |
Definition at line 58 of file device.c.
Referenced by gl_tfb_primitive_type_from_d3d(), and wined3d_device_set_primitive_type().
|
static |
Definition at line 203 of file device.c.
Referenced by device_clear_render_targets().
|
static |
Definition at line 3070 of file device.c.
Referenced by wined3d_device_process_vertices().
|
static |
Definition at line 1957 of file device.c.
Referenced by wined3d_device_set_render_state().
WINE_DECLARE_DEBUG_CHANNEL | ( | winediag | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3d | ) |
HRESULT CDECL wined3d_device_acquire_focus_window | ( | struct wined3d_device * | device, |
HWND | window | ||
) |
Definition at line 938 of file device.c.
Referenced by ddraw_set_cooperative_level(), device_init(), and wined3d_swapchain_set_fullscreen().
HRESULT CDECL wined3d_device_begin_scene | ( | struct wined3d_device * | device | ) |
Definition at line 3602 of file device.c.
Referenced by d3d8_device_BeginScene(), d3d9_device_BeginScene(), and d3d_device7_BeginScene().
HRESULT CDECL wined3d_device_begin_stateblock | ( | struct wined3d_device * | device | ) |
Definition at line 3555 of file device.c.
Referenced by d3d8_device_BeginStateBlock(), d3d9_device_BeginStateBlock(), and d3d_device7_BeginStateBlock().
HRESULT CDECL wined3d_device_clear | ( | struct wined3d_device * | device, |
DWORD | rect_count, | ||
const RECT * | rects, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
Definition at line 3633 of file device.c.
Referenced by d3d8_device_Clear(), d3d9_device_Clear(), d3d_device7_Clear(), and wined3d_device_init_3d().
HRESULT CDECL wined3d_device_clear_rendertarget_view | ( | struct wined3d_device * | device, |
struct wined3d_rendertarget_view * | view, | ||
const RECT * | rect, | ||
DWORD | flags, | ||
const struct wined3d_color * | color, | ||
float | depth, | ||
DWORD | stencil | ||
) |
Definition at line 4392 of file device.c.
Referenced by d3d9_device_ColorFill(), and ddraw_surface_blt().
void CDECL wined3d_device_clear_unordered_access_view_uint | ( | struct wined3d_device * | device, |
struct wined3d_unordered_access_view * | view, | ||
const struct wined3d_uvec4 * | clear_value | ||
) |
void CDECL wined3d_device_copy_resource | ( | struct wined3d_device * | device, |
struct wined3d_resource * | dst_resource, | ||
struct wined3d_resource * | src_resource | ||
) |
Definition at line 4043 of file device.c.
HRESULT CDECL wined3d_device_copy_sub_resource_region | ( | struct wined3d_device * | device, |
struct wined3d_resource * | dst_resource, | ||
unsigned int | dst_sub_resource_idx, | ||
unsigned int | dst_x, | ||
unsigned int | dst_y, | ||
unsigned int | dst_z, | ||
struct wined3d_resource * | src_resource, | ||
unsigned int | src_sub_resource_idx, | ||
const struct wined3d_box * | src_box | ||
) |
Definition at line 4121 of file device.c.
Referenced by d3d9_device_UpdateSurface().
void CDECL wined3d_device_copy_uav_counter | ( | struct wined3d_device * | device, |
struct wined3d_buffer * | dst_buffer, | ||
unsigned int | offset, | ||
struct wined3d_unordered_access_view * | uav | ||
) |
|
static |
Definition at line 4544 of file device.c.
Referenced by wined3d_device_set_cursor_properties().
|
static |
Definition at line 1051 of file device.c.
Referenced by wined3d_device_init_3d(), and wined3d_device_reset().
Definition at line 1017 of file device.c.
Referenced by wined3d_device_create_primary_opengl_context().
ULONG CDECL wined3d_device_decref | ( | struct wined3d_device * | device | ) |
Definition at line 472 of file device.c.
Referenced by d3d8_device_Release(), d3d9_device_Release(), d3d_device_inner_Release(), ddraw_destroy(), ddraw_surface_release_iface(), and device_init().
|
static |
Definition at line 1011 of file device.c.
Referenced by wined3d_device_reset(), and wined3d_device_uninit_3d().
Definition at line 977 of file device.c.
Referenced by wined3d_device_delete_opengl_contexts().
void CDECL wined3d_device_dispatch_compute | ( | struct wined3d_device * | device, |
unsigned int | group_count_x, | ||
unsigned int | group_count_y, | ||
unsigned int | group_count_z | ||
) |
void CDECL wined3d_device_dispatch_compute_indirect | ( | struct wined3d_device * | device, |
struct wined3d_buffer * | buffer, | ||
unsigned int | offset | ||
) |
HRESULT CDECL wined3d_device_draw_indexed_primitive | ( | struct wined3d_device * | device, |
UINT | start_idx, | ||
UINT | index_count | ||
) |
Definition at line 3769 of file device.c.
Referenced by d3d8_device_DrawIndexedPrimitive(), d3d8_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawIndexedPrimitive(), d3d9_device_DrawIndexedPrimitiveUP(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), and d3d_device7_DrawIndexedPrimitiveVB().
void CDECL wined3d_device_draw_indexed_primitive_instanced | ( | struct wined3d_device * | device, |
UINT | start_idx, | ||
UINT | index_count, | ||
UINT | start_instance, | ||
UINT | instance_count | ||
) |
void CDECL wined3d_device_draw_indexed_primitive_instanced_indirect | ( | struct wined3d_device * | device, |
struct wined3d_buffer * | buffer, | ||
unsigned int | offset | ||
) |
Definition at line 3799 of file device.c.
HRESULT CDECL wined3d_device_draw_primitive | ( | struct wined3d_device * | device, |
UINT | start_vertex, | ||
UINT | vertex_count | ||
) |
Definition at line 3740 of file device.c.
Referenced by d3d8_device_DrawPrimitive(), d3d8_device_DrawPrimitiveUP(), d3d9_device_DrawPrimitive(), d3d9_device_DrawPrimitiveUP(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), and d3d_device7_DrawPrimitiveVB().
void CDECL wined3d_device_draw_primitive_instanced | ( | struct wined3d_device * | device, |
UINT | start_vertex, | ||
UINT | vertex_count, | ||
UINT | start_instance, | ||
UINT | instance_count | ||
) |
void CDECL wined3d_device_draw_primitive_instanced_indirect | ( | struct wined3d_device * | device, |
struct wined3d_buffer * | buffer, | ||
unsigned int | offset | ||
) |
HRESULT CDECL wined3d_device_end_scene | ( | struct wined3d_device * | device | ) |
Definition at line 3617 of file device.c.
Referenced by d3d8_device_EndScene(), d3d9_device_EndScene(), and d3d_device7_EndScene().
HRESULT CDECL wined3d_device_end_stateblock | ( | struct wined3d_device * | device, |
struct wined3d_stateblock ** | stateblock | ||
) |
Definition at line 3577 of file device.c.
Referenced by d3d8_device_EndStateBlock(), d3d9_device_EndStateBlock(), and d3d_device7_EndStateBlock().
void CDECL wined3d_device_evict_managed_resources | ( | struct wined3d_device * | device | ) |
Definition at line 4753 of file device.c.
Referenced by d3d7_EvictManagedTextures(), d3d8_device_ResourceManagerDiscardBytes(), and d3d9_device_EvictManagedResources().
UINT CDECL wined3d_device_get_available_texture_mem | ( | const struct wined3d_device * | device | ) |
Definition at line 1298 of file device.c.
Referenced by d3d8_device_GetAvailableTextureMem(), d3d9_device_GetAvailableTextureMem(), ddraw7_GetAvailableVidMem(), and resource_init().
INT CDECL wined3d_device_get_base_vertex_index | ( | const struct wined3d_device * | device | ) |
struct wined3d_blend_state *CDECL wined3d_device_get_blend_state | ( | const struct wined3d_device * | device | ) |
HRESULT CDECL wined3d_device_get_clip_plane | ( | const struct wined3d_device * | device, |
UINT | plane_idx, | ||
struct wined3d_vec4 * | plane | ||
) |
Definition at line 1811 of file device.c.
Referenced by d3d8_device_GetClipPlane(), d3d9_device_GetClipPlane(), and d3d_device7_GetClipPlane().
HRESULT CDECL wined3d_device_get_clip_status | ( | const struct wined3d_device * | device, |
struct wined3d_clip_status * | clip_status | ||
) |
Definition at line 1838 of file device.c.
Referenced by d3d8_device_GetClipStatus(), and d3d9_device_GetClipStatus().
struct wined3d_shader *CDECL wined3d_device_get_compute_shader | ( | const struct wined3d_device * | device | ) |
|
static |
Definition at line 2245 of file device.c.
Referenced by wined3d_device_get_cs_cb(), wined3d_device_get_ds_cb(), wined3d_device_get_gs_cb(), wined3d_device_get_hs_cb(), wined3d_device_get_ps_cb(), and wined3d_device_get_vs_cb().
void CDECL wined3d_device_get_creation_parameters | ( | const struct wined3d_device * | device, |
struct wined3d_device_creation_parameters * | parameters | ||
) |
Definition at line 5042 of file device.c.
Referenced by d3d8_device_GetCreationParameters(), and d3d9_device_GetCreationParameters().
struct wined3d_buffer *CDECL wined3d_device_get_cs_cb | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
Definition at line 2961 of file device.c.
struct wined3d_shader_resource_view *CDECL wined3d_device_get_cs_resource_view | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
Definition at line 2976 of file device.c.
struct wined3d_sampler *CDECL wined3d_device_get_cs_sampler | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
Definition at line 2992 of file device.c.
struct wined3d_unordered_access_view *CDECL wined3d_device_get_cs_uav | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
Definition at line 3044 of file device.c.
struct wined3d_rendertarget_view *CDECL wined3d_device_get_depth_stencil_view | ( | const struct wined3d_device * | device | ) |
Definition at line 4461 of file device.c.
Referenced by d3d8_device_GetDepthStencilSurface(), d3d8_device_SetRenderTarget(), d3d9_device_GetDepthStencilSurface(), ddraw_set_cooperative_level(), and ddraw_surface_delete_attached_surface().
HRESULT CDECL wined3d_device_get_device_caps | ( | const struct wined3d_device * | device, |
WINED3DCAPS * | caps | ||
) |
Definition at line 3526 of file device.c.
Referenced by d3d8_device_GetDeviceCaps(), d3d9_device_GetDeviceCaps(), and ddraw7_GetCaps().
HRESULT CDECL wined3d_device_get_display_mode | ( | const struct wined3d_device * | device, |
UINT | swapchain_idx, | ||
struct wined3d_display_mode * | mode, | ||
enum wined3d_display_rotation * | rotation | ||
) |
Definition at line 3541 of file device.c.
Referenced by d3d8_device_GetDisplayMode(), d3d9_device_GetDisplayMode(), and d3d9_device_GetDisplayModeEx().
struct wined3d_shader *CDECL wined3d_device_get_domain_shader | ( | const struct wined3d_device * | device | ) |
struct wined3d_buffer *CDECL wined3d_device_get_ds_cb | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
struct wined3d_shader_resource_view *CDECL wined3d_device_get_ds_resource_view | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
struct wined3d_sampler *CDECL wined3d_device_get_ds_sampler | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
void CDECL wined3d_device_get_gamma_ramp | ( | const struct wined3d_device * | device, |
UINT | swapchain_idx, | ||
struct wined3d_gamma_ramp * | ramp | ||
) |
Definition at line 5069 of file device.c.
Referenced by d3d8_device_GetGammaRamp(), d3d9_device_GetGammaRamp(), and ddraw_gamma_control_GetGammaRamp().
struct wined3d_shader *CDECL wined3d_device_get_geometry_shader | ( | const struct wined3d_device * | device | ) |
struct wined3d_buffer *CDECL wined3d_device_get_gs_cb | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
struct wined3d_shader_resource_view *CDECL wined3d_device_get_gs_resource_view | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
struct wined3d_sampler *CDECL wined3d_device_get_gs_sampler | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
struct wined3d_buffer *CDECL wined3d_device_get_hs_cb | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
struct wined3d_shader_resource_view *CDECL wined3d_device_get_hs_resource_view | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
struct wined3d_sampler *CDECL wined3d_device_get_hs_sampler | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
struct wined3d_shader *CDECL wined3d_device_get_hull_shader | ( | const struct wined3d_device * | device | ) |
struct wined3d_buffer *CDECL wined3d_device_get_index_buffer | ( | const struct wined3d_device * | device, |
enum wined3d_format_id * | format, | ||
unsigned int * | offset | ||
) |
Definition at line 1906 of file device.c.
Referenced by d3d8_device_GetIndices(), and d3d9_device_GetIndices().
HRESULT CDECL wined3d_device_get_light | ( | const struct wined3d_device * | device, |
UINT | light_idx, | ||
struct wined3d_light * | light | ||
) |
Definition at line 1724 of file device.c.
Referenced by d3d8_device_GetLight(), d3d9_device_GetLight(), and d3d_device7_GetLight().
HRESULT CDECL wined3d_device_get_light_enable | ( | const struct wined3d_device * | device, |
UINT | light_idx, | ||
BOOL * | enable | ||
) |
Definition at line 1767 of file device.c.
Referenced by d3d8_device_GetLightEnable(), d3d9_device_GetLightEnable(), and d3d_device7_GetLightEnable().
void CDECL wined3d_device_get_material | ( | const struct wined3d_device * | device, |
struct wined3d_material * | material | ||
) |
Definition at line 1861 of file device.c.
Referenced by d3d8_device_GetMaterial(), d3d9_device_GetMaterial(), and d3d_device7_GetMaterial().
float CDECL wined3d_device_get_npatch_mode | ( | const struct wined3d_device * | device | ) |
|
static |
Definition at line 3024 of file device.c.
Referenced by wined3d_device_get_cs_uav(), and wined3d_device_get_unordered_access_view().
struct wined3d_shader *CDECL wined3d_device_get_pixel_shader | ( | const struct wined3d_device * | device | ) |
Definition at line 2530 of file device.c.
Referenced by d3d8_device_DeletePixelShader(), d3d8_device_GetPixelShader(), and d3d9_device_GetPixelShader().
struct wined3d_query *CDECL wined3d_device_get_predication | ( | struct wined3d_device * | device, |
BOOL * | value | ||
) |
void CDECL wined3d_device_get_primitive_type | ( | const struct wined3d_device * | device, |
enum wined3d_primitive_type * | primitive_type, | ||
unsigned int * | patch_vertex_count | ||
) |
Definition at line 3727 of file device.c.
struct wined3d_buffer *CDECL wined3d_device_get_ps_cb | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
HRESULT CDECL wined3d_device_get_ps_consts_b | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
BOOL * | constants | ||
) |
Definition at line 2614 of file device.c.
Referenced by d3d9_device_GetPixelShaderConstantB().
HRESULT CDECL wined3d_device_get_ps_consts_f | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
struct wined3d_vec4 * | constants | ||
) |
Definition at line 2708 of file device.c.
Referenced by d3d8_device_GetPixelShaderConstant(), and d3d9_device_GetPixelShaderConstantF().
HRESULT CDECL wined3d_device_get_ps_consts_i | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
struct wined3d_ivec4 * | constants | ||
) |
Definition at line 2663 of file device.c.
Referenced by d3d9_device_GetPixelShaderConstantI().
struct wined3d_shader_resource_view *CDECL wined3d_device_get_ps_resource_view | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
struct wined3d_sampler *CDECL wined3d_device_get_ps_sampler | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
HRESULT CDECL wined3d_device_get_raster_status | ( | const struct wined3d_device * | device, |
UINT | swapchain_idx, | ||
struct wined3d_raster_status * | raster_status | ||
) |
Definition at line 3981 of file device.c.
Referenced by d3d8_device_GetRasterStatus(), and d3d9_device_GetRasterStatus().
struct wined3d_rasterizer_state *CDECL wined3d_device_get_rasterizer_state | ( | struct wined3d_device * | device | ) |
DWORD CDECL wined3d_device_get_render_state | ( | const struct wined3d_device * | device, |
enum wined3d_render_state | state | ||
) |
Definition at line 2064 of file device.c.
Referenced by d3d8_device_GetRenderState(), d3d9_device_GetRenderState(), d3d_device7_GetRenderState(), and d3d_vertex_buffer7_ProcessVertices().
struct wined3d_rendertarget_view *CDECL wined3d_device_get_rendertarget_view | ( | const struct wined3d_device * | device, |
unsigned int | view_idx | ||
) |
Definition at line 4447 of file device.c.
Referenced by d3d8_device_GetRenderTarget(), d3d8_device_SetRenderTarget(), d3d9_device_GetRenderTarget(), d3d9_device_reset(), ddraw_set_cooperative_level(), ddraw_surface7_Flip(), and device_init().
|
static |
Definition at line 2347 of file device.c.
Referenced by wined3d_device_get_cs_sampler(), wined3d_device_get_ds_sampler(), wined3d_device_get_gs_sampler(), wined3d_device_get_hs_sampler(), wined3d_device_get_ps_sampler(), and wined3d_device_get_vs_sampler().
DWORD CDECL wined3d_device_get_sampler_state | ( | const struct wined3d_device * | device, |
UINT | sampler_idx, | ||
enum wined3d_sampler_state | state | ||
) |
Definition at line 2108 of file device.c.
Referenced by d3d8_device_GetTextureStageState(), d3d9_device_GetSamplerState(), d3d_device7_GetRenderState(), and d3d_device7_GetTextureStageState().
|
static |
Definition at line 2296 of file device.c.
Referenced by wined3d_device_get_cs_resource_view(), wined3d_device_get_ds_resource_view(), wined3d_device_get_gs_resource_view(), wined3d_device_get_hs_resource_view(), wined3d_device_get_ps_resource_view(), and wined3d_device_get_vs_resource_view().
BOOL CDECL wined3d_device_get_software_vertex_processing | ( | const struct wined3d_device * | device | ) |
struct wined3d_buffer *CDECL wined3d_device_get_stream_output | ( | struct wined3d_device * | device, |
UINT | idx, | ||
UINT * | offset | ||
) |
Definition at line 1362 of file device.c.
HRESULT CDECL wined3d_device_get_stream_source | ( | const struct wined3d_device * | device, |
UINT | stream_idx, | ||
struct wined3d_buffer ** | buffer, | ||
UINT * | offset, | ||
UINT * | stride | ||
) |
Definition at line 1428 of file device.c.
Referenced by d3d8_device_GetStreamSource(), d3d9_device_GetStreamSource(), and d3d_vertex_buffer7_Release().
HRESULT CDECL wined3d_device_get_stream_source_freq | ( | const struct wined3d_device * | device, |
UINT | stream_idx, | ||
UINT * | divider | ||
) |
Definition at line 1490 of file device.c.
Referenced by d3d9_device_GetStreamSourceFreq().
struct wined3d_swapchain *CDECL wined3d_device_get_swapchain | ( | const struct wined3d_device * | device, |
UINT | swapchain_idx | ||
) |
Definition at line 533 of file device.c.
Referenced by d3d8_device_CreateAdditionalSwapChain(), d3d9_device_CreateAdditionalSwapChain(), d3d9_device_get_swapchains(), ddraw_create_swapchain(), device_init(), wined3d_device_get_display_mode(), wined3d_device_get_gamma_ramp(), wined3d_device_get_raster_status(), wined3d_device_reset(), and wined3d_device_set_gamma_ramp().
UINT CDECL wined3d_device_get_swapchain_count | ( | const struct wined3d_device * | device | ) |
Definition at line 526 of file device.c.
Referenced by d3d8_device_CreateAdditionalSwapChain(), d3d9_device_CreateAdditionalSwapChain(), d3d9_device_get_swapchains(), and d3d9_device_GetNumberOfSwapChains().
struct wined3d_texture *CDECL wined3d_device_get_texture | ( | const struct wined3d_device * | device, |
UINT | stage | ||
) |
Definition at line 3510 of file device.c.
Referenced by d3d8_device_GetTexture(), d3d9_device_GetTexture(), d3d_device3_GetRenderState(), d3d_device3_SetRenderState(), d3d_device3_SetTexture(), and d3d_device7_GetTexture().
DWORD CDECL wined3d_device_get_texture_stage_state | ( | const struct wined3d_device * | device, |
UINT | stage, | ||
enum wined3d_texture_stage_state | state | ||
) |
Definition at line 3447 of file device.c.
Referenced by d3d8_device_GetTextureStageState(), d3d9_device_GetTextureStageState(), d3d_device3_GetRenderState(), and d3d_device7_GetTextureStageState().
void CDECL wined3d_device_get_transform | ( | const struct wined3d_device * | device, |
enum wined3d_transform_state | state, | ||
struct wined3d_matrix * | matrix | ||
) |
Definition at line 1540 of file device.c.
Referenced by d3d8_device_GetTransform(), d3d9_device_GetTransform(), d3d_device7_GetTransform(), d3d_viewport_TransformVertices(), prepare_clip_space_planes(), and process_vertices_strided().
struct wined3d_unordered_access_view *CDECL wined3d_device_get_unordered_access_view | ( | const struct wined3d_device * | device, |
unsigned int | idx | ||
) |
Definition at line 3060 of file device.c.
struct wined3d_vertex_declaration *CDECL wined3d_device_get_vertex_declaration | ( | const struct wined3d_device * | device | ) |
Definition at line 2179 of file device.c.
Referenced by d3d8_device_GetVertexShader(), d3d9_device_GetFVF(), and d3d9_device_GetVertexDeclaration().
struct wined3d_shader *CDECL wined3d_device_get_vertex_shader | ( | const struct wined3d_device * | device | ) |
Definition at line 2207 of file device.c.
Referenced by d3d8_device_DeleteVertexShader(), and d3d9_device_GetVertexShader().
void CDECL wined3d_device_get_viewport | ( | const struct wined3d_device * | device, |
struct wined3d_viewport * | viewport | ||
) |
Definition at line 1950 of file device.c.
Referenced by d3d8_device_GetViewport(), d3d9_device_GetViewport(), d3d_device7_GetViewport(), and process_vertices_strided().
struct wined3d_buffer *CDECL wined3d_device_get_vs_cb | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
HRESULT CDECL wined3d_device_get_vs_consts_b | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
BOOL * | constants | ||
) |
Definition at line 2399 of file device.c.
Referenced by d3d9_device_GetVertexShaderConstantB().
HRESULT CDECL wined3d_device_get_vs_consts_f | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
struct wined3d_vec4 * | constants | ||
) |
Definition at line 2492 of file device.c.
Referenced by d3d8_device_GetVertexShaderConstant(), and d3d9_device_GetVertexShaderConstantF().
HRESULT CDECL wined3d_device_get_vs_consts_i | ( | const struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
struct wined3d_ivec4 * | constants | ||
) |
Definition at line 2448 of file device.c.
Referenced by d3d9_device_GetVertexShaderConstantI().
struct wined3d_shader_resource_view *CDECL wined3d_device_get_vs_resource_view | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
struct wined3d_sampler *CDECL wined3d_device_get_vs_sampler | ( | const struct wined3d_device * | device, |
UINT | idx | ||
) |
ULONG CDECL wined3d_device_incref | ( | struct wined3d_device * | device | ) |
Definition at line 456 of file device.c.
Referenced by d3d_device_init(), and ddraw_surface_create().
HRESULT CDECL wined3d_device_init_3d | ( | struct wined3d_device * | device, |
struct wined3d_swapchain_desc * | swapchain_desc | ||
) |
Definition at line 1061 of file device.c.
Referenced by ddraw_attach_d3d_device(), and device_init().
HRESULT CDECL wined3d_device_init_gdi | ( | struct wined3d_device * | device, |
struct wined3d_swapchain_desc * | swapchain_desc | ||
) |
Definition at line 1147 of file device.c.
Referenced by ddraw_create_swapchain().
void CDECL wined3d_device_multiply_transform | ( | struct wined3d_device * | device, |
enum wined3d_transform_state | state, | ||
const struct wined3d_matrix * | matrix | ||
) |
Definition at line 1548 of file device.c.
Referenced by d3d8_device_MultiplyTransform(), d3d9_device_MultiplyTransform(), and d3d_device7_MultiplyTransform().
HRESULT CDECL wined3d_device_process_vertices | ( | struct wined3d_device * | device, |
UINT | src_start_idx, | ||
UINT | dst_idx, | ||
UINT | vertex_count, | ||
struct wined3d_buffer * | dst_buffer, | ||
const struct wined3d_vertex_declaration * | declaration, | ||
DWORD | flags, | ||
DWORD | dst_fvf | ||
) |
Definition at line 3340 of file device.c.
Referenced by d3d8_device_ProcessVertices(), d3d9_device_ProcessVertices(), and d3d_vertex_buffer7_ProcessVertices().
void CDECL wined3d_device_release_focus_window | ( | struct wined3d_device * | device | ) |
Definition at line 954 of file device.c.
Referenced by d3d8_device_Release(), d3d9_device_Release(), ddraw_set_cooperative_level(), device_init(), swapchain_cleanup(), and wined3d_swapchain_set_fullscreen().
HRESULT CDECL wined3d_device_reset | ( | struct wined3d_device * | device, |
const struct wined3d_swapchain_desc * | swapchain_desc, | ||
const struct wined3d_display_mode * | mode, | ||
wined3d_device_reset_cb | callback, | ||
BOOL | reset_state | ||
) |
Definition at line 4771 of file device.c.
Referenced by d3d8_device_Reset(), d3d9_device_reset(), and ddraw_surface_create().
void CDECL wined3d_device_resolve_sub_resource | ( | struct wined3d_device * | device, |
struct wined3d_resource * | dst_resource, | ||
unsigned int | dst_sub_resource_idx, | ||
struct wined3d_resource * | src_resource, | ||
unsigned int | src_sub_resource_idx, | ||
enum wined3d_format_id | format_id | ||
) |
Definition at line 4346 of file device.c.
Referenced by resolve_depth_buffer().
void CDECL wined3d_device_restore_fullscreen_window | ( | struct wined3d_device * | device, |
HWND | window, | ||
const RECT * | window_rect | ||
) |
Definition at line 885 of file device.c.
Referenced by ddraw_set_cooperative_level(), swapchain_cleanup(), and wined3d_swapchain_set_fullscreen().
void CDECL wined3d_device_set_base_vertex_index | ( | struct wined3d_device * | device, |
INT | base_index | ||
) |
Definition at line 1917 of file device.c.
Referenced by d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_SetIndices(), d3d9_device_DrawIndexedPrimitive(), d3d9_device_DrawIndexedPrimitiveUP(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_blend_state | ( | struct wined3d_device * | device, |
struct wined3d_blend_state * | blend_state | ||
) |
Definition at line 1976 of file device.c.
HRESULT CDECL wined3d_device_set_clip_plane | ( | struct wined3d_device * | device, |
UINT | plane_idx, | ||
const struct wined3d_vec4 * | plane | ||
) |
Definition at line 1783 of file device.c.
Referenced by d3d8_device_SetClipPlane(), d3d9_device_SetClipPlane(), d3d_device7_SetClipPlane(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_clip_status | ( | struct wined3d_device * | device, |
const struct wined3d_clip_status * | clip_status | ||
) |
Definition at line 1827 of file device.c.
Referenced by d3d8_device_SetClipStatus(), and d3d9_device_SetClipStatus().
void CDECL wined3d_device_set_compute_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
Definition at line 2930 of file device.c.
|
static |
Definition at line 2214 of file device.c.
Referenced by wined3d_device_set_cs_cb(), wined3d_device_set_ds_cb(), wined3d_device_set_gs_cb(), wined3d_device_set_hs_cb(), wined3d_device_set_ps_cb(), and wined3d_device_set_vs_cb().
void CDECL wined3d_device_set_cs_cb | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
Definition at line 2954 of file device.c.
void CDECL wined3d_device_set_cs_resource_view | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
Definition at line 2968 of file device.c.
void CDECL wined3d_device_set_cs_sampler | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
Definition at line 2984 of file device.c.
void CDECL wined3d_device_set_cs_uav | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_unordered_access_view * | uav, | ||
unsigned int | initial_count | ||
) |
Definition at line 3036 of file device.c.
void CDECL wined3d_device_set_cursor_position | ( | struct wined3d_device * | device, |
int | x_screen_space, | ||
int | y_screen_space, | ||
DWORD | flags | ||
) |
Definition at line 4690 of file device.c.
Referenced by d3d8_device_SetCursorPosition(), and d3d9_device_SetCursorPosition().
HRESULT CDECL wined3d_device_set_cursor_properties | ( | struct wined3d_device * | device, |
UINT | x_hotspot, | ||
UINT | y_hotspot, | ||
struct wined3d_texture * | texture, | ||
unsigned int | sub_resource_idx | ||
) |
Definition at line 4587 of file device.c.
Referenced by d3d8_device_SetCursorProperties(), and d3d9_device_SetCursorProperties().
void CDECL wined3d_device_set_depth_stencil_view | ( | struct wined3d_device * | device, |
struct wined3d_rendertarget_view * | view | ||
) |
Definition at line 4524 of file device.c.
Referenced by d3d8_device_SetRenderTarget(), d3d9_device_SetDepthStencilSurface(), d3d_device_update_depth_stencil(), ddraw_set_cooperative_level(), ddraw_surface_delete_attached_surface(), device_init_swapchain_state(), and wined3d_device_reset().
HRESULT CDECL wined3d_device_set_dialog_box_mode | ( | struct wined3d_device * | device, |
BOOL | enable_dialogs | ||
) |
Definition at line 5032 of file device.c.
Referenced by d3d9_device_SetDialogBoxMode().
void CDECL wined3d_device_set_domain_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
void CDECL wined3d_device_set_ds_cb | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
void CDECL wined3d_device_set_ds_resource_view | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
void CDECL wined3d_device_set_ds_sampler | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
void CDECL wined3d_device_set_gamma_ramp | ( | const struct wined3d_device * | device, |
UINT | swapchain_idx, | ||
DWORD | flags, | ||
const struct wined3d_gamma_ramp * | ramp | ||
) |
Definition at line 5057 of file device.c.
Referenced by d3d8_device_SetGammaRamp(), d3d9_device_SetGammaRamp(), and ddraw_gamma_control_SetGammaRamp().
void CDECL wined3d_device_set_geometry_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
void CDECL wined3d_device_set_gs_cb | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
void CDECL wined3d_device_set_gs_resource_view | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
void CDECL wined3d_device_set_gs_sampler | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
void CDECL wined3d_device_set_hs_cb | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
void CDECL wined3d_device_set_hs_resource_view | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
void CDECL wined3d_device_set_hs_sampler | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
void CDECL wined3d_device_set_hull_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
void CDECL wined3d_device_set_index_buffer | ( | struct wined3d_device * | device, |
struct wined3d_buffer * | buffer, | ||
enum wined3d_format_id | format_id, | ||
unsigned int | offset | ||
) |
Definition at line 1874 of file device.c.
Referenced by d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_SetIndices(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_SetIndices(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_light | ( | struct wined3d_device * | device, |
UINT | light_idx, | ||
const struct wined3d_light * | light | ||
) |
Definition at line 1580 of file device.c.
Referenced by apply_lights(), d3d8_device_SetLight(), d3d9_device_SetLight(), d3d_device7_SetLight(), and wined3d_device_set_light_enable().
HRESULT CDECL wined3d_device_set_light_enable | ( | struct wined3d_device * | device, |
UINT | light_idx, | ||
BOOL | enable | ||
) |
Definition at line 1741 of file device.c.
Referenced by apply_lights(), d3d8_device_LightEnable(), d3d9_device_LightEnable(), and d3d_device7_LightEnable().
void CDECL wined3d_device_set_material | ( | struct wined3d_device * | device, |
const struct wined3d_material * | material | ||
) |
Definition at line 1849 of file device.c.
Referenced by d3d8_device_SetMaterial(), d3d9_device_SetMaterial(), d3d_device7_SetMaterial(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_multithreaded | ( | struct wined3d_device * | device | ) |
Definition at line 1290 of file device.c.
Referenced by ddraw_set_cooperative_level(), and device_init().
HRESULT CDECL wined3d_device_set_npatch_mode | ( | struct wined3d_device * | device, |
float | segments | ||
) |
Definition at line 3995 of file device.c.
Referenced by d3d9_device_SetNPatchMode().
|
static |
Definition at line 2999 of file device.c.
Referenced by wined3d_device_set_cs_uav(), and wined3d_device_set_unordered_access_view().
void CDECL wined3d_device_set_pixel_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
Definition at line 2509 of file device.c.
Referenced by d3d8_device_SetPixelShader(), d3d9_device_SetPixelShader(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_predication | ( | struct wined3d_device * | device, |
struct wined3d_query * | predicate, | ||
BOOL | value | ||
) |
Definition at line 3670 of file device.c.
void CDECL wined3d_device_set_primitive_type | ( | struct wined3d_device * | device, |
enum wined3d_primitive_type | primitive_type, | ||
unsigned int | patch_vertex_count | ||
) |
Definition at line 3717 of file device.c.
Referenced by d3d8_device_DrawIndexedPrimitive(), d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_DrawPrimitive(), d3d8_device_DrawPrimitiveUP(), d3d9_device_DrawIndexedPrimitive(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawPrimitive(), d3d9_device_DrawPrimitiveUP(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), and d3d_device7_DrawPrimitiveVB().
void CDECL wined3d_device_set_ps_cb | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
HRESULT CDECL wined3d_device_set_ps_consts_b | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const BOOL * | constants | ||
) |
Definition at line 2581 of file device.c.
Referenced by d3d9_device_SetPixelShaderConstantB(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_ps_consts_f | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const struct wined3d_vec4 * | constants | ||
) |
Definition at line 2679 of file device.c.
Referenced by d3d8_device_SetPixelShaderConstant(), d3d9_device_SetPixelShaderConstantF(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_ps_consts_i | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const struct wined3d_ivec4 * | constants | ||
) |
Definition at line 2630 of file device.c.
Referenced by d3d9_device_SetPixelShaderConstantI(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_ps_resource_view | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
void CDECL wined3d_device_set_ps_sampler | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
void CDECL wined3d_device_set_rasterizer_state | ( | struct wined3d_device * | device, |
struct wined3d_rasterizer_state * | rasterizer_state | ||
) |
Definition at line 2001 of file device.c.
void CDECL wined3d_device_set_render_state | ( | struct wined3d_device * | device, |
enum wined3d_render_state | state, | ||
DWORD | value | ||
) |
Definition at line 2027 of file device.c.
Referenced by d3d8_device_Reset(), d3d8_device_SetRenderState(), d3d9_device_reset(), d3d9_device_SetRenderState(), d3d_device7_SetRenderState(), d3d_device_init(), d3d_vertex_buffer7_ProcessVertices(), ddraw_surface_create(), device_init(), setup_lighting(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_rendertarget_view | ( | struct wined3d_device * | device, |
unsigned int | view_idx, | ||
struct wined3d_rendertarget_view * | view, | ||
BOOL | set_viewport | ||
) |
Definition at line 4468 of file device.c.
Referenced by d3d8_device_SetRenderTarget(), d3d9_device_SetRenderTarget(), d3d_device_init(), d3d_device_inner_Release(), d3d_device_set_render_target(), ddraw_set_cooperative_level(), ddraw_surface7_Flip(), device_init_swapchain_state(), wined3d_device_reset(), and wined3d_device_uninit_3d().
|
static |
Definition at line 2316 of file device.c.
Referenced by wined3d_device_set_cs_sampler(), wined3d_device_set_ds_sampler(), wined3d_device_set_gs_sampler(), wined3d_device_set_hs_sampler(), wined3d_device_set_ps_sampler(), and wined3d_device_set_vs_sampler().
void CDECL wined3d_device_set_sampler_state | ( | struct wined3d_device * | device, |
UINT | sampler_idx, | ||
enum wined3d_sampler_state | state, | ||
DWORD | value | ||
) |
Definition at line 2071 of file device.c.
Referenced by d3d8_device_SetTextureStageState(), d3d9_device_SetSamplerState(), d3d_device7_SetRenderState(), d3d_device7_SetTextureStageState(), and wined3d_stateblock_apply().
Definition at line 2126 of file device.c.
Referenced by d3d9_device_SetScissorRect(), and wined3d_stateblock_apply().
|
static |
Definition at line 2264 of file device.c.
Referenced by wined3d_device_set_cs_resource_view(), wined3d_device_set_ds_resource_view(), wined3d_device_set_gs_resource_view(), wined3d_device_set_hs_resource_view(), wined3d_device_set_ps_resource_view(), and wined3d_device_set_vs_resource_view().
void CDECL wined3d_device_set_software_vertex_processing | ( | struct wined3d_device * | device, |
BOOL | software | ||
) |
void CDECL wined3d_device_set_stream_output | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_buffer * | buffer, | ||
UINT | offset | ||
) |
Definition at line 1335 of file device.c.
HRESULT CDECL wined3d_device_set_stream_source | ( | struct wined3d_device * | device, |
UINT | stream_idx, | ||
struct wined3d_buffer * | buffer, | ||
UINT | offset, | ||
UINT | stride | ||
) |
Definition at line 1378 of file device.c.
Referenced by d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_DrawPrimitiveUP(), d3d8_device_SetStreamSource(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawPrimitiveUP(), d3d9_device_SetStreamSource(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_device7_DrawPrimitiveVB(), d3d_vertex_buffer7_ProcessVertices(), d3d_vertex_buffer7_Release(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_stream_source_freq | ( | struct wined3d_device * | device, |
UINT | stream_idx, | ||
UINT | divider | ||
) |
Definition at line 1451 of file device.c.
Referenced by d3d9_device_SetStreamSourceFreq(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_texture | ( | struct wined3d_device * | device, |
UINT | stage, | ||
struct wined3d_texture * | texture | ||
) |
Definition at line 3462 of file device.c.
Referenced by d3d8_device_SetTexture(), d3d9_device_SetTexture(), d3d_device3_SetRenderState(), d3d_device7_SetTexture(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_texture_stage_state | ( | struct wined3d_device * | device, |
UINT | stage, | ||
enum wined3d_texture_stage_state | state, | ||
DWORD | value | ||
) |
Definition at line 3405 of file device.c.
Referenced by d3d8_device_SetTextureStageState(), d3d9_device_SetTextureStageState(), d3d_device3_SetRenderState(), d3d_device3_SetTexture(), d3d_device7_SetTextureStageState(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_transform | ( | struct wined3d_device * | device, |
enum wined3d_transform_state | d3dts, | ||
const struct wined3d_matrix * | matrix | ||
) |
Definition at line 1505 of file device.c.
Referenced by d3d8_device_SetTransform(), d3d9_device_SetTransform(), d3d_device1_SetMatrix(), d3d_device3_MultiplyTransform(), d3d_device3_SetTransform(), d3d_device7_SetTransform(), update_clip_space(), wined3d_device_multiply_transform(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_unordered_access_view | ( | struct wined3d_device * | device, |
unsigned int | idx, | ||
struct wined3d_unordered_access_view * | uav, | ||
unsigned int | initial_count | ||
) |
Definition at line 3052 of file device.c.
void CDECL wined3d_device_set_vertex_declaration | ( | struct wined3d_device * | device, |
struct wined3d_vertex_declaration * | declaration | ||
) |
Definition at line 2157 of file device.c.
Referenced by d3d8_device_SetVertexShader(), d3d9_device_SetFVF(), d3d9_device_SetVertexDeclaration(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_device7_DrawPrimitiveVB(), d3d_vertex_buffer7_ProcessVertices(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_vertex_shader | ( | struct wined3d_device * | device, |
struct wined3d_shader * | shader | ||
) |
Definition at line 2186 of file device.c.
Referenced by d3d8_device_SetVertexShader(), d3d9_device_SetVertexShader(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_viewport | ( | struct wined3d_device * | device, |
const struct wined3d_viewport * | viewport | ||
) |
Definition at line 1931 of file device.c.
Referenced by d3d8_device_SetViewport(), d3d9_device_SetViewport(), d3d_device7_SetViewport(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_vs_cb | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_buffer * | buffer | ||
) |
HRESULT CDECL wined3d_device_set_vs_consts_b | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const BOOL * | constants | ||
) |
Definition at line 2366 of file device.c.
Referenced by d3d9_device_SetVertexShaderConstantB(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_vs_consts_f | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const struct wined3d_vec4 * | constants | ||
) |
Definition at line 2463 of file device.c.
Referenced by d3d8_device_SetVertexShaderConstant(), d3d9_device_SetVertexShaderConstantF(), and wined3d_stateblock_apply().
HRESULT CDECL wined3d_device_set_vs_consts_i | ( | struct wined3d_device * | device, |
unsigned int | start_idx, | ||
unsigned int | count, | ||
const struct wined3d_ivec4 * | constants | ||
) |
Definition at line 2415 of file device.c.
Referenced by d3d9_device_SetVertexShaderConstantI(), and wined3d_stateblock_apply().
void CDECL wined3d_device_set_vs_resource_view | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_shader_resource_view * | view | ||
) |
void CDECL wined3d_device_set_vs_sampler | ( | struct wined3d_device * | device, |
UINT | idx, | ||
struct wined3d_sampler * | sampler | ||
) |
void CDECL wined3d_device_setup_fullscreen_window | ( | struct wined3d_device * | device, |
HWND | window, | ||
UINT | w, | ||
UINT | h | ||
) |
Definition at line 853 of file device.c.
Referenced by ddraw_set_cooperative_level(), device_init(), wined3d_device_reset(), and wined3d_swapchain_set_fullscreen().
BOOL CDECL wined3d_device_show_cursor | ( | struct wined3d_device * | device, |
BOOL | show | ||
) |
Definition at line 4719 of file device.c.
Referenced by d3d8_device_ShowCursor(), and d3d9_device_ShowCursor().
HRESULT CDECL wined3d_device_uninit_3d | ( | struct wined3d_device * | device | ) |
Definition at line 1195 of file device.c.
Referenced by d3d8_device_Release(), d3d9_device_Release(), ddraw_attach_d3d_device(), ddraw_destroy_swapchain(), and device_init().
HRESULT CDECL wined3d_device_uninit_gdi | ( | struct wined3d_device * | device | ) |
Definition at line 1265 of file device.c.
Referenced by ddraw_destroy_swapchain().
void CDECL wined3d_device_update_sub_resource | ( | struct wined3d_device * | device, |
struct wined3d_resource * | resource, | ||
unsigned int | sub_resource_idx, | ||
const struct wined3d_box * | box, | ||
const void * | data, | ||
unsigned int | row_pitch, | ||
unsigned int | depth_pitch | ||
) |
Definition at line 4281 of file device.c.
Referenced by buffer_init(), and wined3d_texture_create().
HRESULT CDECL wined3d_device_update_texture | ( | struct wined3d_device * | device, |
struct wined3d_texture * | src_texture, | ||
struct wined3d_texture * | dst_texture | ||
) |
Definition at line 3808 of file device.c.
Referenced by d3d8_device_UpdateTexture(), and d3d9_device_UpdateTexture().
HRESULT CDECL wined3d_device_validate_device | ( | const struct wined3d_device * | device, |
DWORD * | num_passes | ||
) |
Definition at line 3905 of file device.c.
Referenced by d3d8_device_ValidateDevice(), d3d9_device_ValidateDevice(), and d3d_device7_ValidateDevice().
Definition at line 5188 of file device.c.
Referenced by device_init().
const struct wined3d_light WINED3D_default_light |
Definition at line 41 of file device.c.
Referenced by wined3d_device_set_light_enable(), and wined3d_state_record_lights().