|
Blender V5.3
|
#include <vk_texture_pool.hh>
Public Member Functions | |
| VKResourceWithHandle< VkImage > | get_or_create (const VKImageInfo &info) |
| Vector< VKImageView > | take_image_views (const VKImageInfo &info) |
| void | store_image_views (const VKImageInfo &info, Vector< VKImageView > image_views) |
| void | reset (bool force_reset=false) |
| void | reset_unused_cycles_count (const VKImageInfo &info) |
| void | discard_all_of (VmaAllocation allocation) |
| uint64_t | size () const |
Definition at line 39 of file vk_texture_pool.hh.
| void blender::gpu::VKImageCache::discard_all_of | ( | VmaAllocation | allocation | ) |
Definition at line 196 of file vk_texture_pool.cc.
References blender::gpu::render_graph::VKResourceStateTracker::deref_resource(), blender::gpu::VKBackend::device, blender::gpu::VKBackend::get(), blender::gpu::VKResourceWithHandle< HandleType >::resource_handle, and blender::gpu::VKDevice::resources.
| VKResourceWithHandle< VkImage > blender::gpu::VKImageCache::get_or_create | ( | const VKImageInfo & | info | ) |
Definition at line 133 of file vk_texture_pool.cc.
References blender::gpu::create_and_bind_vk_image(), blender::G, and blender::G_DEBUG_GPU.
| void blender::gpu::VKImageCache::reset | ( | bool | force_reset = false | ) |
Definition at line 175 of file vk_texture_pool.cc.
References blender::gpu::render_graph::VKResourceStateTracker::deref_resource(), blender::gpu::VKBackend::device, blender::gpu::VKBackend::get(), blender::gpu::VKResourceWithHandle< HandleType >::resource_handle, and blender::gpu::VKDevice::resources.
| void blender::gpu::VKImageCache::reset_unused_cycles_count | ( | const VKImageInfo & | info | ) |
Definition at line 167 of file vk_texture_pool.cc.
References BLI_assert_msg.
|
inline |
Definition at line 72 of file vk_texture_pool.hh.
| void blender::gpu::VKImageCache::store_image_views | ( | const VKImageInfo & | info, |
| Vector< VKImageView > | image_views ) |
Definition at line 161 of file vk_texture_pool.cc.
| Vector< VKImageView > blender::gpu::VKImageCache::take_image_views | ( | const VKImageInfo & | info | ) |
Definition at line 155 of file vk_texture_pool.cc.