ReactOS 0.4.16-dev-13-ge2fc578
|
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 * |