Searched refs:desiredAlignment (Results 1 – 1 of 1) sorted by relevance
295 int desiredAlignment = (bytesPerPixel == 3) ? 12 : (bytesPerPixel > 4 ? bytesPerPixel : 4); in GrComputeTightCombinedBufferSize() local302 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize()304 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()