Flutter Engine
The Flutter Engine
|
#include <GrVkDescriptorSetManager.h>
Public Member Functions | |
~GrVkDescriptorSetManager () | |
void | release (GrVkGpu *gpu) |
VkDescriptorSetLayout | layout () const |
const GrVkDescriptorSet * | getDescriptorSet (GrVkGpu *gpu, const Handle &handle) |
void | recycleDescriptorSet (const GrVkDescriptorSet *) |
bool | isCompatible (VkDescriptorType type, const GrVkUniformHandler *) const |
bool | isZeroSampler () const |
Static Public Member Functions | |
static GrVkDescriptorSetManager * | CreateUniformManager (GrVkGpu *gpu) |
static GrVkDescriptorSetManager * | CreateSamplerManager (GrVkGpu *gpu, VkDescriptorType type, const GrVkUniformHandler &) |
static GrVkDescriptorSetManager * | CreateZeroSamplerManager (GrVkGpu *gpu) |
static GrVkDescriptorSetManager * | CreateInputManager (GrVkGpu *gpu) |
This class handles the allocation of descriptor sets for a given VkDescriptorSetLayout. It will try to reuse previously allocated descriptor sets if they are no longer in use by other objects.
Definition at line 26 of file GrVkDescriptorSetManager.h.
|
inline |
Definition at line 38 of file GrVkDescriptorSetManager.h.
|
static |
Definition at line 47 of file GrVkDescriptorSetManager.cpp.
|
static |
Definition at line 29 of file GrVkDescriptorSetManager.cpp.
|
static |
Definition at line 21 of file GrVkDescriptorSetManager.cpp.
|
static |
Definition at line 41 of file GrVkDescriptorSetManager.cpp.
const GrVkDescriptorSet * GrVkDescriptorSetManager::getDescriptorSet | ( | GrVkGpu * | gpu, |
const Handle & | handle | ||
) |
Definition at line 228 of file GrVkDescriptorSetManager.cpp.
bool GrVkDescriptorSetManager::isCompatible | ( | VkDescriptorType | type, |
const GrVkUniformHandler * | uniHandler | ||
) | const |
Definition at line 268 of file GrVkDescriptorSetManager.cpp.
bool GrVkDescriptorSetManager::isZeroSampler | ( | ) | const |
Definition at line 288 of file GrVkDescriptorSetManager.cpp.
|
inline |
Definition at line 42 of file GrVkDescriptorSetManager.h.
void GrVkDescriptorSetManager::recycleDescriptorSet | ( | const GrVkDescriptorSet * | descSet | ) |
Definition at line 247 of file GrVkDescriptorSetManager.cpp.
void GrVkDescriptorSetManager::release | ( | GrVkGpu * | gpu | ) |