Lines Matching refs:allocation
217 VmaAllocation allocation;
218 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr);
220 *backendMemory = (GrVkBackendMemory)allocation;
225 vmaGetNewBlockStats(allocation, &newBlockflag);
228 vmaClearNewBlockStats(allocation);
230 // After swap, allocation belongs to vma reserved block.
231 VkResult result2 = vmaSwapReservedBlock(fAllocator, image, &info, &allocation, nullptr);
245 PreAllocMemory(fAllocator, allocation);
319 VmaAllocation allocation;
320 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr);
322 *backendMemory = (GrVkBackendMemory)allocation;
330 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
331 vmaFreeMemory(fAllocator, allocation);
336 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
338 vmaGetAllocationInfo(fAllocator, allocation, &vmaInfo);
364 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
365 return vmaMapMemory(fAllocator, allocation, data);
370 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
371 vmaUnmapMemory(fAllocator, allocation);
377 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
378 return vmaFlushAllocation(fAllocator, allocation, offset, size);
384 const VmaAllocation allocation = (const VmaAllocation)memoryHandle;
385 return vmaInvalidateAllocation(fAllocator, allocation, offset, size);