Lines Matching refs:fOffset
113 alloc->fMemory, alloc->fOffset)); in AllocAndBindBufferMemory()
201 alloc->fMemory, alloc->fOffset)); in AllocAndBindImageMemory()
293 mappedMemoryRange.offset = alloc.fOffset; in FlushMappedAlloc()
306 mappedMemoryRange.offset = alloc.fOffset; in InvalidateMappedAlloc()
326 SkASSERT(align_size(block->fOffset, fAlignment) - block->fOffset == 0); in alloc()
331 if (secondLargestSize < block->fSize && block->fOffset != fLargestBlockOffset) { in alloc()
333 secondLargestOffset = block->fOffset; in alloc()
341 SkASSERT(align_size(bestFit->fOffset, fAlignment) == bestFit->fOffset); in alloc()
342 *allocOffset = bestFit->fOffset; in alloc()
345 VkDeviceSize originalBestFitOffset = bestFit->fOffset; in alloc()
347 bestFit->fOffset += alignedSize; in alloc()
352 fLargestBlockOffset = bestFit->fOffset; in alloc()
405 while (iter.get() && iter.get()->fOffset < allocOffset) { in free()
412 if (prev.get() && prev.get()->fOffset + prev.get()->fSize == allocOffset) { in free()
415 if (block->fOffset == fLargestBlockOffset) { in free()
419 if (iter.get() && iter.get()->fOffset == allocOffset + allocSize) { in free()
421 if (iter.get()->fOffset == fLargestBlockOffset) { in free()
422 fLargestBlockOffset = block->fOffset; in free()
428 } else if (iter.get() && iter.get()->fOffset == allocOffset + allocSize) { in free()
431 if (block->fOffset == fLargestBlockOffset) { in free()
435 block->fOffset = allocOffset; in free()
439 block->fOffset = allocOffset; in free()
445 fLargestBlockOffset = block->fOffset; in free()
502 return INHERITED::alloc(size, &alloc->fOffset, &alloc->fSize); in alloc()
508 INHERITED::free(alloc.fOffset, alloc.fSize); in free()
531 alloc->fOffset = 0; in subAlloc()