class DescriptorSetAllocatorCache
Defined at line 17 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.h
Lazily creates and caches DescriptorSetAllocators upon demand.
DescriptorSetAllocator instances are kept alive by std::shared_ptr held by PipelineLayout.
Public Methods
void DescriptorSetAllocatorCache (vk::Device device)
Defined at line 13 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.cc
DescriptorSetAllocatorPtr ObtainDescriptorSetAllocator (const DescriptorSetLayout & layout, const SamplerPtr & immutable_sampler)
Defined at line 15 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.cc
void ~DescriptorSetAllocatorCache ()
Defined at line 20 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.h
size_t size ()
Return the number of allocators in the cache.
Defined at line 30 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.h
void BeginFrame ()
Cycles through |descriptor_set_allocators_| to filter out the ones that are deleted and calls
BeginFrame() on the ones alive to signal the start of a new lifetime cycle.
Defined at line 47 of file ../../src/ui/lib/escher/vk/impl/descriptor_set_allocator_cache.cc