ReactOS 0.4.16-dev-92-g0c2cdca
|
Go to the source code of this file.
Definition at line 31 of file resource.c.
Referenced by resource_init().
void resource_cleanup | ( | struct wined3d_resource * | resource | ) |
Definition at line 237 of file resource.c.
Referenced by buffer_init(), wined3d_buffer_decref(), wined3d_texture_cleanup_sync(), and wined3d_texture_decref().
HRESULT resource_init | ( | struct wined3d_resource * | resource, |
struct wined3d_device * | device, | ||
enum wined3d_resource_type | type, | ||
const struct wined3d_format * | format, | ||
enum wined3d_multisample_type | multisample_type, | ||
unsigned int | multisample_quality, | ||
unsigned int | usage, | ||
unsigned int | access, | ||
unsigned int | width, | ||
unsigned int | height, | ||
unsigned int | depth, | ||
unsigned int | size, | ||
void * | parent, | ||
const struct wined3d_parent_ops * | parent_ops, | ||
const struct wined3d_resource_ops * | resource_ops | ||
) |
Definition at line 59 of file resource.c.
Referenced by buffer_init(), and wined3d_texture_init().
void resource_unload | ( | struct wined3d_resource * | resource | ) |
Definition at line 257 of file resource.c.
Referenced by buffer_unload(), and wined3d_texture_unload_gl_texture().
WINE_DECLARE_DEBUG_CHANNEL | ( | d3d_perf | ) |
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3d | ) |
BOOL wined3d_resource_allocate_sysmem | ( | struct wined3d_resource * | resource | ) |
Definition at line 487 of file resource.c.
Referenced by resource_init(), wined3d_buffer_prepare_location(), and wined3d_texture_prepare_location().
Definition at line 228 of file resource.c.
Referenced by resource_cleanup().
void wined3d_resource_free_sysmem | ( | struct wined3d_resource * | resource | ) |
Definition at line 504 of file resource.c.
Referenced by resource_init(), texture1d_init(), volumetexture_init(), wined3d_buffer_evict_sysmem(), wined3d_resource_destroy_object(), wined3d_texture_evict_sysmem(), and wined3d_texture_update_desc().
void CDECL wined3d_resource_get_desc | ( | const struct wined3d_resource * | resource, |
struct wined3d_resource_desc * | desc | ||
) |
Definition at line 295 of file resource.c.
Referenced by d3d8_indexbuffer_GetDesc(), d3d8_vertexbuffer_GetDesc(), d3d9_indexbuffer_GetDesc(), d3d9_vertexbuffer_GetDesc(), d3d_device3_GetRenderState(), d3d_device3_SetRenderState(), d3d_device3_SetTexture(), d3d_vertex_buffer7_GetVertexBufferDesc(), d3d_vertex_buffer7_Lock(), and reset_enum_callback().
void *CDECL wined3d_resource_get_parent | ( | const struct wined3d_resource * | resource | ) |
Definition at line 285 of file resource.c.
Referenced by reset_enum_callback().
DWORD CDECL wined3d_resource_get_priority | ( | const struct wined3d_resource * | resource | ) |
Definition at line 279 of file resource.c.
Referenced by d3d8_indexbuffer_GetPriority(), d3d8_texture_2d_GetPriority(), d3d8_texture_3d_GetPriority(), d3d8_texture_cube_GetPriority(), d3d8_vertexbuffer_GetPriority(), d3d9_indexbuffer_GetPriority(), d3d9_texture_2d_GetPriority(), d3d9_texture_3d_GetPriority(), d3d9_texture_cube_GetPriority(), d3d9_vertexbuffer_GetPriority(), and ddraw_surface7_GetPriority().
Definition at line 532 of file resource.c.
Referenced by context_map_bo_address().
GLbitfield wined3d_resource_gl_map_flags | ( | DWORD | d3d_flags | ) |
Definition at line 515 of file resource.c.
Referenced by context_map_bo_address(), and wined3d_buffer_map().
BOOL wined3d_resource_is_offscreen | ( | struct wined3d_resource * | resource | ) |
Definition at line 547 of file resource.c.
Referenced by arbfp_blitter_blit(), context_apply_clear_state(), context_create(), context_setup_target(), fb_copy_to_texture_direct(), fb_copy_to_texture_hwstretch(), read_from_framebuffer(), surface_load_drawable(), surface_load_fb_texture(), surface_load_texture(), texture1d_prepare_texture(), texture2d_prepare_texture(), wined3d_resource_update_draw_binding(), wined3d_surface_blt(), and wined3d_surface_upload_data().
HRESULT CDECL wined3d_resource_map | ( | struct wined3d_resource * | resource, |
unsigned int | sub_resource_idx, | ||
struct wined3d_map_desc * | map_desc, | ||
const struct wined3d_box * | box, | ||
DWORD | flags | ||
) |
Definition at line 344 of file resource.c.
Referenced by d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_DrawPrimitiveUP(), d3d8_indexbuffer_Lock(), d3d8_surface_LockRect(), d3d8_vertexbuffer_Lock(), d3d8_volume_LockBox(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawPrimitiveUP(), d3d9_indexbuffer_Lock(), d3d9_surface_LockRect(), d3d9_vertexbuffer_Lock(), d3d9_volume_LockBox(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_execute_buffer_SetExecuteData(), d3d_vertex_buffer7_Lock(), process_vertices_strided(), surface_lock(), wined3d_device_create_cursor_texture(), wined3d_device_process_vertices(), and wined3d_device_set_cursor_properties().
HRESULT CDECL wined3d_resource_map_info | ( | struct wined3d_resource * | resource, |
unsigned int | sub_resource_idx, | ||
struct wined3d_map_info * | info, | ||
DWORD | flags | ||
) |
Definition at line 374 of file resource.c.
void CDECL wined3d_resource_preload | ( | struct wined3d_resource * | resource | ) |
Definition at line 482 of file resource.c.
Referenced by d3d8_indexbuffer_PreLoad(), d3d8_texture_2d_PreLoad(), d3d8_texture_3d_PreLoad(), d3d8_texture_cube_PreLoad(), d3d8_vertexbuffer_PreLoad(), d3d9_indexbuffer_PreLoad(), d3d9_surface_PreLoad(), d3d9_texture_2d_PreLoad(), d3d9_texture_3d_PreLoad(), d3d9_texture_cube_PreLoad(), d3d9_vertexbuffer_PreLoad(), and d3d_device7_PreLoad().
|
static |
Definition at line 309 of file resource.c.
Referenced by wined3d_resource_map().
void CDECL wined3d_resource_set_parent | ( | struct wined3d_resource * | resource, |
void * | parent | ||
) |
Definition at line 290 of file resource.c.
Referenced by ddraw_surface7_Flip().
DWORD CDECL wined3d_resource_set_priority | ( | struct wined3d_resource * | resource, |
DWORD | priority | ||
) |
Definition at line 263 of file resource.c.
Referenced by d3d8_indexbuffer_SetPriority(), d3d8_texture_2d_SetPriority(), d3d8_texture_3d_SetPriority(), d3d8_texture_cube_SetPriority(), d3d8_vertexbuffer_SetPriority(), d3d9_indexbuffer_SetPriority(), d3d9_texture_2d_SetPriority(), d3d9_texture_3d_SetPriority(), d3d9_texture_cube_SetPriority(), d3d9_vertexbuffer_SetPriority(), and ddraw_surface7_SetPriority().
HRESULT CDECL wined3d_resource_unmap | ( | struct wined3d_resource * | resource, |
unsigned int | sub_resource_idx | ||
) |
Definition at line 382 of file resource.c.
Referenced by d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_DrawPrimitiveUP(), d3d8_indexbuffer_Unlock(), d3d8_surface_UnlockRect(), d3d8_vertexbuffer_Unlock(), d3d8_volume_UnlockBox(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawPrimitiveUP(), d3d9_indexbuffer_Unlock(), d3d9_surface_UnlockRect(), d3d9_vertexbuffer_Unlock(), d3d9_volume_UnlockBox(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_execute_buffer_SetExecuteData(), d3d_vertex_buffer7_Unlock(), ddraw_surface7_Unlock(), process_vertices_strided(), surface_cpu_blt_colour_fill(), wined3d_device_create_cursor_texture(), wined3d_device_process_vertices(), and wined3d_device_set_cursor_properties().
void wined3d_resource_update_draw_binding | ( | struct wined3d_resource * | resource | ) |
Definition at line 568 of file resource.c.
Referenced by swapchain_update_draw_bindings(), wined3d_texture_init(), and wined3d_texture_set_swapchain().
UINT CDECL wined3d_resource_update_info | ( | struct wined3d_resource * | resource, |
unsigned int | sub_resource_idx, | ||
const struct wined3d_box * | box, | ||
unsigned int | row_pitch, | ||
unsigned int | depth_pitch | ||
) |
Definition at line 389 of file resource.c.