Searched refs:typeCounts (Results 1 – 6 of 6) sorted by relevance
14 GrVkDescriptorPool::GrVkDescriptorPool(const GrVkGpu* gpu, const DescriptorTypeCounts& typeCounts) in GrVkDescriptorPool() argument16 , fTypeCounts(typeCounts) { in GrVkDescriptorPool()44 bool GrVkDescriptorPool::isCompatible(const DescriptorTypeCounts& typeCounts) const { in isCompatible()45 return fTypeCounts.isSuperSet(typeCounts); in isCompatible()
36 explicit GrVkDescriptorPool(const GrVkGpu* gpu, const DescriptorTypeCounts& typeCounts);44 bool isCompatible(const DescriptorTypeCounts& typeCounts) const;
61 const GrVkDescriptorPool::DescriptorTypeCounts& typeCounts) { in findOrCreateCompatibleDescriptorPool() argument62 return new GrVkDescriptorPool(fGpu, typeCounts); in findOrCreateCompatibleDescriptorPool()
289 GrVkDescriptorPool::DescriptorTypeCounts typeCounts; in finalize() local290 typeCounts.setTypeCount(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 2); in finalize()292 typeCounts.setTypeCount(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, (uint8_t)numSamplers); in finalize()294 fGpu->resourceProvider().findOrCreateCompatibleDescriptorPool(typeCounts); in finalize()
53 const GrVkDescriptorPool::DescriptorTypeCounts& typeCounts);
1848 vector<VkDescriptorPoolSize> typeCounts; in computePoolSizes() local1863 typeCounts.push_back(makeDescriptorPoolSize((VkDescriptorType)type, countByType[type])); in computePoolSizes()1866 return typeCounts; in computePoolSizes()