Home
last modified time | relevance | path

Searched refs:alignmentDiff (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/gpu/
DGrDataUtils.cpp362 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize() local
363 if (alignmentDiff != 0) { in GrComputeTightCombinedBufferSize()
364 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm447 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
448 if (alignmentDiff != 0) {
449 combinedBufferSize += alignmentMask - alignmentDiff + 1;