Searched refs:LengthOf (Results 1 - 1 of 1) sorted by relevance

/external/skia/src/gpu/
H A DGrTRecorder.h57 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), nullptr)),
106 static int LengthOf(int bytes) { return (bytes + sizeof(TAlign) - 1) / sizeof(TAlign); } function in class:GrTRecorder
365 : fDataLength(GrTRecorder<TBase, TAlign>::LengthOf(sizeOfData)) {}

Completed in 80 milliseconds