class ResourceManager

Defined at line 23 of file ../../src/ui/lib/escher/resources/resource_manager.h

ResourceManager is responsible for deciding whether to reuse or destroy

resources that are returned to it. The only restriction is that the

manager must wait until it is "safe" to destroy the resource; the definition

of safety depends on the context, but typically means something like not

destroying resources while they are used by pending Vulkan command-buffers.

Not thread-safe.

Public Methods

void ResourceManager (EscherWeakPtr escher)

TODO: DemoHarness::SwapchainImageOwner is currently instantiated before

an Escher exists. Fix this, then assert that Escher is non-null here.

Defined at line 13 of file ../../src/ui/lib/escher/resources/resource_manager.cc

const VulkanDeviceQueues::Caps & caps ()

Defined at line 17 of file ../../src/ui/lib/escher/resources/resource_manager.cc

Escher * escher ()

Defined at line 27 of file ../../src/ui/lib/escher/resources/resource_manager.h

EscherWeakPtr GetEscherWeakPtr ()

Defined at line 28 of file ../../src/ui/lib/escher/resources/resource_manager.h

const VulkanContext & vulkan_context ()

Defined at line 29 of file ../../src/ui/lib/escher/resources/resource_manager.h

vk::Device vk_device ()

Defined at line 30 of file ../../src/ui/lib/escher/resources/resource_manager.h

Friends

class Resource