| Index: src/gpu/vk/GrVkResourceProvider.h
|
| diff --git a/src/gpu/vk/GrVkResourceProvider.h b/src/gpu/vk/GrVkResourceProvider.h
|
| index a769a652d40b5b802b1c59b31845c4c4111c5d2e..66a2556a9398ba7e9cfa8e8f1a48875072406456 100644
|
| --- a/src/gpu/vk/GrVkResourceProvider.h
|
| +++ b/src/gpu/vk/GrVkResourceProvider.h
|
| @@ -49,14 +49,13 @@ public:
|
| GrVkCommandBuffer* createCommandBuffer();
|
| void checkCommandBuffers();
|
|
|
| - // Finds or creates a compatible GrVkDescriptorPool for the requested DescriptorTypeCount.
|
| + // Finds or creates a compatible GrVkDescriptorPool for the requested type and count.
|
| // The refcount is incremented and a pointer returned.
|
| // TODO: Currently this will just create a descriptor pool without holding onto a ref itself
|
| // so we currently do not reuse them. Rquires knowing if another draw is currently using
|
| // the GrVkDescriptorPool, the ability to reset pools, and the ability to purge pools out
|
| // of our cache of GrVkDescriptorPools.
|
| - GrVkDescriptorPool* findOrCreateCompatibleDescriptorPool(
|
| - const GrVkDescriptorPool::DescriptorTypeCounts& typeCounts);
|
| + GrVkDescriptorPool* findOrCreateCompatibleDescriptorPool(VkDescriptorType type, uint32_t count);
|
|
|
| // Finds or creates a compatible GrVkSampler based on the GrTextureParams.
|
| // The refcount is incremented and a pointer returned.
|
|
|