Searched refs:trimRowBytes (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 570 size_t trimRowBytes = width * bpp; in uploadTexDataLinear() local 572 rowBytes = trimRowBytes; in uploadTexDataLinear() 607 memcpy(dstRow, srcRow, trimRowBytes); in uploadTexDataLinear() 612 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes, in uploadTexDataLinear() 695 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() local 698 trimRowBytes; in uploadTexDataOptimal() 706 memcpy(dst, src, trimRowBytes); in uploadTexDataOptimal() 708 dst += trimRowBytes; in uploadTexDataOptimal() 711 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 848 const size_t trimRowBytes = width * bpp; in onTransferPixels() local 850 rowBytes = trimRowBytes; in onTransferPixels() 858 if (trimRowBytes != rowBytes) { in onTransferPixels() 1113 const size_t trimRowBytes = currentWidth * bpp; in uploadTexData() local 1125 trimRowBytes; in uploadTexData() 1133 if (rowBytes != trimRowBytes) { in uploadTexData() 1138 } else if (trimRowBytes != rowBytes || swFlipY) { in uploadTexData() 1146 memcpy(dst, src, trimRowBytes); in uploadTexData() 1152 dst += trimRowBytes; in uploadTexData() 1157 texelsShallowCopy[currentMipLevel].fRowBytes = trimRowBytes; in uploadTexData()
|