Searched refs:GrAlignTo (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/gpu/ |
D | GrRingBuffer.cpp | 53 fHead = GrAlignTo(head + size, fAlignment); in getAllocationOffset()
|
D | GrBlockAllocator.h | 515 static_assert(GrAlignTo(kDataStart + Padding, Align) >= sizeof(Block)); in GR_MAKE_BITFIELD_OPS() 516 return GrAlignTo(kDataStart + Padding, Align); in GR_MAKE_BITFIELD_OPS() 564 static_assert((kMaxAllocationSize + GrAlignTo(MaxBlockSize<Align, Padding>(), Align)) in allocate()
|
D | GrBlockAllocator.cpp | 19 , fBlockIncrement(SkTo<uint16_t>(GrAlignTo(blockIncrementBytes, kAddressAlign) in GrBlockAllocator()
|
/external/skia/bench/ |
D | GrMemoryPoolBench.cpp | 33 static_assert(GrAlignTo(sizeof(Unaligned), GrMemoryPool::kAlignment) == sizeof(Aligned));
|
/external/skia/src/gpu/d3d/ |
D | GrD3DResourceProvider.cpp | 271 size_t paddedSize = GrAlignTo(size, kConstantAlignment); in uploadConstantData()
|
D | GrD3DCaps.cpp | 894 size_t offsetAlignment = GrAlignTo(GrDxgiFormatBytesPerBlock(dxgiFormat), in supportedWritePixelsColorType()
|
/external/skia/include/private/ |
D | GrTypesPriv.h | 41 static inline constexpr size_t GrAlignTo(size_t x, size_t alignment) { in GrAlignTo() function
|