8#ifndef GrVkDescriptorPool_DEFINED
9#define GrVkDescriptorPool_DEFINED
27 VkDescriptorPool
descPool()
const {
return fDescPool; }
33#ifdef SK_TRACE_MANAGED_RESOURCES
34 void dumpInfo()
const override {
35 SkDebugf(
"GrVkDescriptorPool: %" PRIdPTR
", type %d (%d refs)\n", (intptr_t)fDescPool,
36 fType, this->getRefCnt());
44 void freeGPUData()
const override;
48 VkDescriptorPool fDescPool;
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
VkDescriptorPool descPool() const
static GrVkDescriptorPool * Create(GrVkGpu *gpu, VkDescriptorType type, uint32_t count)
bool isCompatible(VkDescriptorType type, uint32_t count) const
GrVkManagedResource(const GrVkGpu *gpu)