ReactOS 0.4.16-dev-319-g6cf4263
|
Go to the source code of this file.
Macros | |
#define | WINED3D_TEXTURE_DYNAMIC_MAP_THRESHOLD 50 |
Variables | |
static const struct wined3d_texture_ops | texture1d_ops |
static const struct wined3d_texture_ops | texture2d_ops |
static const struct wined3d_resource_ops | texture_resource_ops |
static const struct wined3d_texture_ops | texture3d_ops |
|
static |
|
static |
Definition at line 476 of file texture.c.
Referenced by wined3d_texture_unload_gl_texture().
Definition at line 104 of file texture.c.
Referenced by texture1d_init(), volumetexture_init(), and wined3d_texture_update_desc().
|
static |
|
static |
Definition at line 1785 of file texture.c.
Referenced by texture1d_load_location(), and texture1d_srgb_transfer().
|
static |
Definition at line 2518 of file texture.c.
Referenced by wined3d_texture_create().
|
static |
Definition at line 1880 of file texture.c.
|
static |
Definition at line 2012 of file texture.c.
|
static |
Definition at line 1857 of file texture.c.
Referenced by texture1d_load_location().
|
static |
Definition at line 1708 of file texture.c.
Referenced by texture1d_load_location(), and texture1d_srgb_transfer().
|
static |
Definition at line 2161 of file texture.c.
Definition at line 1255 of file texture.c.
Referenced by texture_init(), wined3d_texture_get_dc(), and wined3d_texture_update_desc().
Definition at line 1316 of file texture.c.
Referenced by texture2d_cleanup_sub_resources(), wined3d_texture_release_dc(), and wined3d_texture_update_desc().
|
static |
Definition at line 2113 of file texture.c.
|
static |
Definition at line 2120 of file texture.c.
|
static |
Definition at line 2084 of file texture.c.
|
static |
|
static |
Definition at line 2955 of file texture.c.
Referenced by texture3d_load_location(), and texture3d_srgb_transfer().
|
static |
Definition at line 3016 of file texture.c.
|
static |
Definition at line 3120 of file texture.c.
|
static |
Definition at line 2987 of file texture.c.
Referenced by texture3d_load_location().
|
static |
Definition at line 2875 of file texture.c.
Referenced by texture3d_load_location(), and texture3d_srgb_transfer().
|
static |
Definition at line 2641 of file texture.c.
|
static |
Definition at line 2220 of file texture.c.
|
static |
Definition at line 2215 of file texture.c.
|
static |
Definition at line 2225 of file texture.c.
|
static |
Definition at line 2302 of file texture.c.
|
static |
Definition at line 2433 of file texture.c.
|
static |
Definition at line 2463 of file texture.c.
|
static |
Definition at line 3164 of file texture.c.
WINE_DECLARE_DEBUG_CHANNEL | ( | d3d_perf | ) |
WINE_DECLARE_DEBUG_CHANNEL | ( | winediag | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3d | ) |
Definition at line 79 of file texture.c.
Referenced by texture1d_load_location(), and wined3d_texture_load_location().
HRESULT CDECL wined3d_texture_add_dirty_region | ( | struct wined3d_texture * | texture, |
UINT | layer, | ||
const struct wined3d_box * | dirty_region | ||
) |
Definition at line 1677 of file texture.c.
Referenced by d3d8_texture_2d_AddDirtyRect(), d3d8_texture_3d_AddDirtyBox(), d3d8_texture_cube_AddDirtyRect(), d3d9_texture_2d_AddDirtyRect(), d3d9_texture_3d_AddDirtyBox(), and d3d9_texture_cube_AddDirtyRect().
|
static |
Definition at line 564 of file texture.c.
Referenced by texture2d_prepare_texture().
|
static |
Definition at line 518 of file texture.c.
Referenced by texture2d_prepare_texture().
void wined3d_texture_apply_sampler_desc | ( | struct wined3d_texture * | texture, |
const struct wined3d_sampler_desc * | sampler_desc, | ||
const struct wined3d_context * | context | ||
) |
Definition at line 896 of file texture.c.
Referenced by wined3d_sampler_bind().
void wined3d_texture_bind | ( | struct wined3d_texture * | texture, |
struct wined3d_context * | context, | ||
BOOL | srgb | ||
) |
Definition at line 729 of file texture.c.
Referenced by sampler(), wined3d_shader_resource_view_bind(), and wined3d_texture_bind_and_dirtify().
void wined3d_texture_bind_and_dirtify | ( | struct wined3d_texture * | texture, |
struct wined3d_context * | context, | ||
BOOL | srgb | ||
) |
Definition at line 868 of file texture.c.
Referenced by shader_resource_view_generate_mipmaps(), surface_convert_format(), surface_load_fb_texture(), surface_load_sysmem(), surface_load_texture(), surface_upload_from_surface(), texture1d_load_location(), texture1d_prepare_texture(), texture1d_srgb_transfer(), texture2d_prepare_texture(), texture3d_load_location(), texture3d_prepare_texture(), texture3d_srgb_transfer(), wined3d_cs_exec_blt_sub_resource(), and wined3d_cs_exec_update_sub_resource().
HRESULT CDECL wined3d_texture_blt | ( | struct wined3d_texture * | dst_texture, |
unsigned int | dst_sub_resource_idx, | ||
const RECT * | dst_rect, | ||
struct wined3d_texture * | src_texture, | ||
unsigned int | src_sub_resource_idx, | ||
const RECT * | src_rect, | ||
DWORD | flags, | ||
const struct wined3d_blt_fx * | fx, | ||
enum wined3d_texture_filter_type | filter | ||
) |
Definition at line 3262 of file texture.c.
Referenced by copy_mipmap_chain(), d3d8_device_CopyRects(), d3d9_device_GetRenderTargetData(), d3d9_device_StretchRect(), d3d_texture2_Load(), ddraw_surface7_BltFast(), ddraw_surface_blt(), ddraw_surface_update_frontbuffer(), swapchain_gl_present(), wined3d_device_resolve_sub_resource(), and wined3d_swapchain_get_front_buffer_data().
HRESULT wined3d_texture_check_box_dimensions | ( | const struct wined3d_texture * | texture, |
unsigned int | level, | ||
const struct wined3d_box * | box | ||
) |
Definition at line 1128 of file texture.c.
Referenced by texture_resource_sub_resource_map(), wined3d_device_clear_rendertarget_view(), wined3d_device_copy_sub_resource_region(), and wined3d_texture_blt().
|
static |
Definition at line 654 of file texture.c.
Referenced by wined3d_texture_cleanup_sync(), and wined3d_texture_destroy_object().
|
static |
Definition at line 1009 of file texture.c.
Referenced by texture1d_init(), texture_init(), volumetexture_init(), and wined3d_texture_create().
|
static |
HRESULT CDECL wined3d_texture_create | ( | struct wined3d_device * | device, |
const struct wined3d_resource_desc * | desc, | ||
UINT | layer_count, | ||
UINT | level_count, | ||
DWORD | flags, | ||
const struct wined3d_sub_resource_data * | data, | ||
void * | parent, | ||
const struct wined3d_parent_ops * | parent_ops, | ||
struct wined3d_texture ** | texture | ||
) |
Definition at line 3511 of file texture.c.
Referenced by cubetexture_init(), d3d8_device_create_surface(), d3d9_device_create_surface(), ddraw_surface_create(), device_load_logo(), device_parent_create_swapchain_texture(), surface_convert_format(), texture_init(), volumetexture_init(), and wined3d_device_create_cursor_texture().
ULONG CDECL wined3d_texture_decref | ( | struct wined3d_texture * | texture | ) |
Definition at line 1023 of file texture.c.
Referenced by d3d8_device_create_surface(), d3d8_surface_Release(), d3d8_texture_2d_Release(), d3d8_texture_3d_Release(), d3d8_texture_cube_Release(), d3d9_device_create_surface(), d3d9_surface_Release(), d3d9_texture_cleanup(), ddraw_surface_cleanup(), ddraw_surface_create(), device_load_logo(), state_unbind_resources(), surface_cpu_blt(), swapchain_cleanup(), swapchain_init(), texture_resource_decref(), wined3d_device_reset(), wined3d_device_set_cursor_properties(), wined3d_device_set_texture(), wined3d_device_uninit_3d(), and wined3d_stateblock_capture().
Definition at line 1017 of file texture.c.
Referenced by wined3d_texture_decref().
|
static |
Definition at line 109 of file texture.c.
Referenced by wined3d_texture_validate_location().
|
static |
Definition at line 1531 of file texture.c.
Referenced by wined3d_texture_prepare_texture(), and wined3d_texture_unload().
struct wined3d_texture *__cdecl wined3d_texture_from_resource | ( | struct wined3d_resource * | resource | ) |
Definition at line 2210 of file texture.c.
Referenced by context_find_fbo_entry(), context_set_fbo_key_for_render_target(), device_clear_render_targets(), draw_primitive(), reset_enum_callback(), surface_set_compatible_renderbuffer(), wined3d_cs_exec_update_sub_resource(), and wined3d_shader_resource_view_bind().
HRESULT CDECL wined3d_texture_get_dc | ( | struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx, | ||
HDC * | dc | ||
) |
Definition at line 3623 of file texture.c.
Referenced by d3d9_surface_GetDC(), ddraw_surface7_GetDC(), ddraw_surface_update_frontbuffer(), and device_load_logo().
GLenum wined3d_texture_get_gl_buffer | ( | const struct wined3d_texture * | texture | ) |
Definition at line 51 of file texture.c.
Referenced by arbfp_blitter_blit(), context_generate_rt_mask_from_resource(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), ffp_blitter_blit(), read_from_framebuffer(), surface_blt_fbo(), and surface_load_fb_texture().
|
static |
Definition at line 484 of file texture.c.
Referenced by wined3d_texture_allocate_gl_immutable_storage(), and wined3d_texture_prepare_rb().
DWORD CDECL wined3d_texture_get_level_count | ( | const struct wined3d_texture * | texture | ) |
Definition at line 1228 of file texture.c.
Referenced by d3d8_texture_2d_GetLevelCount(), d3d8_texture_3d_GetLevelCount(), d3d8_texture_cube_GetCubeMapSurface(), d3d8_texture_cube_GetLevelCount(), d3d8_texture_cube_GetLevelDesc(), d3d8_texture_cube_LockRect(), d3d8_texture_cube_UnlockRect(), d3d9_texture_2d_GetLevelCount(), d3d9_texture_3d_GetLevelCount(), d3d9_texture_acquire_shader_resource_view(), d3d9_texture_cube_GetCubeMapSurface(), d3d9_texture_cube_GetLevelCount(), d3d9_texture_cube_GetLevelDesc(), d3d9_texture_cube_LockRect(), and d3d9_texture_cube_UnlockRect().
DWORD CDECL wined3d_texture_get_lod | ( | const struct wined3d_texture * | texture | ) |
Definition at line 1221 of file texture.c.
Referenced by d3d8_texture_2d_GetLOD(), d3d8_texture_3d_GetLOD(), d3d8_texture_cube_GetLOD(), d3d9_texture_2d_GetLOD(), d3d9_texture_3d_GetLOD(), d3d9_texture_cube_GetLOD(), and ddraw_surface7_GetLOD().
void wined3d_texture_get_memory | ( | struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx, | ||
struct wined3d_bo_address * | data, | ||
DWORD | locations | ||
) |
Definition at line 285 of file texture.c.
Referenced by read_from_framebuffer(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_download_data(), surface_load_texture(), surface_upload_from_surface(), texture2d_create_dc(), texture2d_destroy_dc(), texture_resource_sub_resource_map(), texture_resource_sub_resource_unmap(), wined3d_cs_exec_blt_sub_resource(), and wined3d_texture_copy_sysmem_location().
HRESULT CDECL wined3d_texture_get_overlay_position | ( | const struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx, | ||
LONG * | x, | ||
LONG * | y | ||
) |
Definition at line 3325 of file texture.c.
Referenced by ddraw_surface7_GetOverlayPosition().
void *CDECL wined3d_texture_get_parent | ( | const struct wined3d_texture * | texture | ) |
Definition at line 1121 of file texture.c.
Referenced by d3d8_device_GetTexture(), d3d9_device_GetTexture(), d3d_device3_GetRenderState(), d3d_device7_GetTexture(), ddraw_surface7_Flip(), ddraw_surface_init(), ddraw_surface_release_iface(), device_parent_surface_created(), surface_init(), and volume_init().
void CDECL wined3d_texture_get_pitch | ( | const struct wined3d_texture * | texture, |
unsigned int | level, | ||
unsigned int * | row_pitch, | ||
unsigned int * | slice_pitch | ||
) |
Definition at line 1168 of file texture.c.
Referenced by ddraw_surface_init(), read_from_framebuffer(), surface_convert_format(), surface_cpu_blt(), surface_cpu_blt_colour_fill(), surface_download_data(), surface_load_texture(), surface_upload_from_surface(), texture1d_load_location(), texture1d_srgb_transfer(), texture2d_create_dc(), texture3d_load_location(), texture3d_srgb_transfer(), texture3d_upload_data(), texture_resource_sub_resource_map(), texture_resource_sub_resource_map_info(), and wined3d_cs_exec_blt_sub_resource().
struct wined3d_resource *CDECL wined3d_texture_get_resource | ( | struct wined3d_texture * | texture | ) |
Definition at line 1052 of file texture.c.
Referenced by d3d8_surface_LockRect(), d3d8_surface_UnlockRect(), d3d8_texture_2d_GetPriority(), d3d8_texture_2d_PreLoad(), d3d8_texture_2d_SetPriority(), d3d8_texture_3d_GetPriority(), d3d8_texture_3d_PreLoad(), d3d8_texture_3d_SetPriority(), d3d8_texture_cube_GetPriority(), d3d8_texture_cube_PreLoad(), d3d8_texture_cube_SetPriority(), d3d8_volume_LockBox(), d3d8_volume_UnlockBox(), d3d9_device_UpdateSurface(), d3d9_surface_LockRect(), d3d9_surface_PreLoad(), d3d9_surface_UnlockRect(), d3d9_texture_2d_GetPriority(), d3d9_texture_2d_PreLoad(), d3d9_texture_2d_SetPriority(), d3d9_texture_3d_GetPriority(), d3d9_texture_3d_PreLoad(), d3d9_texture_3d_SetPriority(), d3d9_texture_acquire_shader_resource_view(), d3d9_texture_cube_GetPriority(), d3d9_texture_cube_PreLoad(), d3d9_texture_cube_SetPriority(), d3d9_volume_LockBox(), d3d9_volume_UnlockBox(), d3d_device3_GetRenderState(), d3d_device3_SetRenderState(), d3d_device3_SetTexture(), d3d_device7_PreLoad(), ddraw_surface7_Flip(), ddraw_surface7_GetPriority(), ddraw_surface7_SetPriority(), ddraw_surface7_Unlock(), and surface_lock().
|
static |
Definition at line 1661 of file texture.c.
Referenced by texture_resource_sub_resource_map(), texture_resource_sub_resource_map_info(), texture_resource_sub_resource_unmap(), wined3d_texture_get_dc(), wined3d_texture_release_dc(), and wined3d_texture_update_overlay().
HRESULT CDECL wined3d_texture_get_sub_resource_desc | ( | const struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx, | ||
struct wined3d_sub_resource_desc * | desc | ||
) |
Definition at line 3480 of file texture.c.
Referenced by d3d8_device_CopyRects(), d3d8_device_SetRenderTarget(), d3d8_surface_GetDesc(), d3d8_texture_2d_GetLevelDesc(), d3d8_texture_3d_GetLevelDesc(), d3d8_texture_cube_GetLevelDesc(), d3d8_volume_GetDesc(), d3d9_device_ColorFill(), d3d9_device_GetRenderTargetData(), d3d9_device_StretchRect(), d3d9_device_UpdateSurface(), d3d9_surface_GetDesc(), d3d9_texture_2d_GetLevelDesc(), d3d9_texture_3d_GetLevelDesc(), d3d9_texture_acquire_shader_resource_view(), d3d9_texture_cube_GetLevelDesc(), d3d9_volume_GetDesc(), ddraw_surface7_Restore(), and ddraw_surface_create().
void *CDECL wined3d_texture_get_sub_resource_parent | ( | struct wined3d_texture * | texture, |
unsigned int | sub_resource_idx | ||
) |
Definition at line 3449 of file texture.c.
Referenced by d3d8_device_create_surface(), d3d8_device_GetBackBuffer(), d3d8_swapchain_GetBackBuffer(), d3d8_texture_2d_GetSurfaceLevel(), d3d8_texture_2d_LockRect(), d3d8_texture_2d_UnlockRect(), d3d8_texture_3d_GetVolumeLevel(), d3d8_texture_3d_LockBox(), d3d8_texture_3d_UnlockBox(), d3d8_texture_cube_GetCubeMapSurface(), d3d8_texture_cube_LockRect(), d3d8_texture_cube_UnlockRect(), d3d9_device_create_surface(), d3d9_swapchain_GetBackBuffer(), d3d9_texture_2d_GetSurfaceLevel(), d3d9_texture_2d_LockRect(), d3d9_texture_2d_UnlockRect(), d3d9_texture_3d_GetVolumeLevel(), d3d9_texture_3d_LockBox(), d3d9_texture_3d_UnlockBox(), d3d9_texture_cube_GetCubeMapSurface(), d3d9_texture_cube_LockRect(), d3d9_texture_cube_UnlockRect(), ddraw_surface_create(), device_parent_create_swapchain_texture(), and reset_enum_callback().
ULONG CDECL wined3d_texture_incref | ( | struct wined3d_texture * | texture | ) |
Definition at line 994 of file texture.c.
Referenced by d3d8_surface_AddRef(), d3d8_texture_2d_AddRef(), d3d8_texture_3d_AddRef(), d3d8_texture_cube_AddRef(), d3d9_surface_AddRef(), d3d9_texture_2d_AddRef(), d3d9_texture_3d_AddRef(), d3d9_texture_cube_AddRef(), ddraw_surface_add_iface(), ddraw_surface_init(), texture_resource_incref(), wined3d_device_set_texture(), and wined3d_stateblock_capture().
|
static |
Definition at line 323 of file texture.c.