Flutter Engine
The Flutter Engine
|
A per-frame object used to track resource lifetimes and allocate command buffers and descriptor sets. More...
#include <tracked_objects_vk.h>
Public Member Functions | |
TrackedObjectsVK (const std::weak_ptr< const ContextVK > &context, const std::shared_ptr< CommandPoolVK > &pool, std::unique_ptr< GPUProbe > probe) | |
~TrackedObjectsVK () | |
bool | IsValid () const |
void | Track (std::shared_ptr< SharedObjectVK > object) |
void | Track (std::shared_ptr< const DeviceBuffer > buffer) |
bool | IsTracking (const std::shared_ptr< const DeviceBuffer > &buffer) const |
void | Track (std::shared_ptr< const TextureSourceVK > texture) |
bool | IsTracking (const std::shared_ptr< const TextureSourceVK > &texture) const |
vk::CommandBuffer | GetCommandBuffer () const |
DescriptorPoolVK & | GetDescriptorPool () |
GPUProbe & | GetGPUProbe () const |
A per-frame object used to track resource lifetimes and allocate command buffers and descriptor sets.
Definition at line 17 of file tracked_objects_vk.h.
|
explicit |
Definition at line 11 of file tracked_objects_vk.cc.
impeller::TrackedObjectsVK::~TrackedObjectsVK | ( | ) |
Definition at line 28 of file tracked_objects_vk.cc.
vk::CommandBuffer impeller::TrackedObjectsVK::GetCommandBuffer | ( | ) | const |
Definition at line 76 of file tracked_objects_vk.cc.
DescriptorPoolVK & impeller::TrackedObjectsVK::GetDescriptorPool | ( | ) |
Definition at line 80 of file tracked_objects_vk.cc.
GPUProbe & impeller::TrackedObjectsVK::GetGPUProbe | ( | ) | const |
Definition at line 84 of file tracked_objects_vk.cc.
bool impeller::TrackedObjectsVK::IsTracking | ( | const std::shared_ptr< const DeviceBuffer > & | buffer | ) | const |
Definition at line 53 of file tracked_objects_vk.cc.
bool impeller::TrackedObjectsVK::IsTracking | ( | const std::shared_ptr< const TextureSourceVK > & | texture | ) | const |
Definition at line 68 of file tracked_objects_vk.cc.
bool impeller::TrackedObjectsVK::IsValid | ( | ) | const |
Definition at line 35 of file tracked_objects_vk.cc.
void impeller::TrackedObjectsVK::Track | ( | std::shared_ptr< const DeviceBuffer > | buffer | ) |
Definition at line 46 of file tracked_objects_vk.cc.
void impeller::TrackedObjectsVK::Track | ( | std::shared_ptr< const TextureSourceVK > | texture | ) |
Definition at line 61 of file tracked_objects_vk.cc.
void impeller::TrackedObjectsVK::Track | ( | std::shared_ptr< SharedObjectVK > | object | ) |
Definition at line 39 of file tracked_objects_vk.cc.