Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDataUtils.cpp302 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize() local
303 if (alignmentDiff != 0) { in GrComputeTightCombinedBufferSize()
304 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp659 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal() local
660 if (alignmentDiff != 0) { in uploadTexDataOptimal()
661 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()
1476 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage() local
1477 if (alignmentDiff != 0) { in createTestingOnlyVkImage()
1478 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm473 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
474 if (alignmentDiff != 0) {
475 combinedBufferSize += alignmentMask - alignmentDiff + 1;