Home
last modified time | relevance | path

Searched refs:bestFitSize (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkMemory.cpp322 VkDeviceSize bestFitSize = fSize + 1; in alloc() local
329 if (block->fSize >= alignedSize && block->fSize < bestFitSize) { in alloc()
331 bestFitSize = block->fSize; in alloc()
544 VkDeviceSize bestFitSize = 0x7FFFFFFF; in subAlloc() local
549 if (heapSize >= alignedSize && heapSize < bestFitSize) { in subAlloc()
551 bestFitSize = heapSize; in subAlloc()
591 VkDeviceSize bestFitSize = 0x7FFFFFFF; in singleAlloc() local
597 if (heapSize >= alignedSize && heapSize < bestFitSize) { in singleAlloc()
599 bestFitSize = heapSize; in singleAlloc()