| Index: src/gpu/vk/GrVkMemory.h
|
| diff --git a/src/gpu/vk/GrVkMemory.h b/src/gpu/vk/GrVkMemory.h
|
| index 197bbe8719cc28f0e1ecc95742a84e45066d32fc..417fb5a1e050c41e552f164cd58a647f4c3a18c5 100644
|
| --- a/src/gpu/vk/GrVkMemory.h
|
| +++ b/src/gpu/vk/GrVkMemory.h
|
| @@ -95,6 +95,9 @@ public:
|
|
|
| ~GrVkHeap();
|
|
|
| + VkDeviceSize allocSize() const { return fAllocSize; }
|
| + VkDeviceSize usedSize() const { return fUsedSize; }
|
| +
|
| bool alloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex,
|
| GrVkAlloc* alloc) {
|
| return (*this.*fAllocFunc)(size, alignment, memoryTypeIndex, alloc);
|
|
|