Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DGrDataUtils.cpp145 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize() local
146 if (alignmentDiff != 0) { in GrComputeTightCombinedBufferSize()
147 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()
/aosp_15_r20/external/skia/src/gpu/ganesh/mtl/
H A DGrMtlGpu.mm452 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
453 if (alignmentDiff != 0) {
454 combinedBufferSize += alignmentMask - alignmentDiff + 1;