Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDataUtils.cpp295 int desiredAlignment = (bytesPerPixel == 3) ? 12 : (bytesPerPixel > 4 ? bytesPerPixel : 4); in GrComputeTightCombinedBufferSize() local
302 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize()
304 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()