Searched refs:GrSizeAlignUp (Results 1 – 2 of 2) sorted by relevance
21 fMinAllocSize = GrSizeAlignUp(minAllocSize + kPerAllocPad, kAlignment), in GrMemoryPool()22 fPreallocSize = GrSizeAlignUp(preallocSize + kPerAllocPad, kAlignment); in GrMemoryPool()44 size = GrSizeAlignUp(size, kAlignment); in allocate()
81 static inline size_t GrSizeAlignUp(size_t x, size_t alignment) { in GrSizeAlignUp() function