Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrRingBuffer.cpp53 fHead = GrAlignTo(head + size, fAlignment); in getAllocationOffset()
DGrBlockAllocator.h515 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()
DGrBlockAllocator.cpp19 , fBlockIncrement(SkTo<uint16_t>(GrAlignTo(blockIncrementBytes, kAddressAlign) in GrBlockAllocator()
/external/skia/bench/
DGrMemoryPoolBench.cpp33 static_assert(GrAlignTo(sizeof(Unaligned), GrMemoryPool::kAlignment) == sizeof(Aligned));
/external/skia/src/gpu/d3d/
DGrD3DResourceProvider.cpp271 size_t paddedSize = GrAlignTo(size, kConstantAlignment); in uploadConstantData()
DGrD3DCaps.cpp894 size_t offsetAlignment = GrAlignTo(GrDxgiFormatBytesPerBlock(dxgiFormat), in supportedWritePixelsColorType()
/external/skia/include/private/
DGrTypesPriv.h41 static inline constexpr size_t GrAlignTo(size_t x, size_t alignment) { in GrAlignTo() function