Searched refs:GrSizeAlignUp (Results 1 – 2 of 2) sorted by relevance
34 minAllocSize = SkTMax<size_t>(GrSizeAlignUp(minAllocSize, kAlignment), kSmallestMinAllocSize); in GrMemoryPool()35 preallocSize = SkTMax<size_t>(GrSizeAlignUp(preallocSize, kAlignment), minAllocSize); in GrMemoryPool()71 size = GrSizeAlignUp(size, kAlignment); in allocate()
155 static inline size_t GrSizeAlignUp(size_t x, size_t alignment) { in GrSizeAlignUp() function