Searched refs:trimRowBytes (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkConvertPixels.h | 21 size_t trimRowBytes, int rowCount) { in SkRectMemcpy() argument 22 SkASSERT(trimRowBytes <= dstRB); in SkRectMemcpy() 23 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy() 24 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy() 25 memcpy(dst, src, trimRowBytes * rowCount); in SkRectMemcpy() 30 memcpy(dst, src, trimRowBytes); in SkRectMemcpy()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 360 size_t trimRowBytes = width * SkColorTypeBytesPerPixel(colorType); in uploadTextureData() local 361 size_t dstRowBytes = GrDawnRoundRowBytes(trimRowBytes); in uploadTextureData() 365 SkRectMemcpy(slice.fOffsetMapPtr, dstRowBytes, src, srcRowBytes, trimRowBytes, height); in uploadTextureData()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 757 size_t trimRowBytes = rect.width() * bpp; in uploadTexDataLinear() local 792 trimRowBytes, in uploadTexDataLinear() 928 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() local 934 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 383 const size_t trimRowBytes = currentWidth * bpp; 389 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); 393 sourceBytesPerRow: trimRowBytes 394 sourceBytesPerImage: trimRowBytes*currentHeight
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 895 const size_t trimRowBytes = rect.width() * bpp; in onTransferPixelsTo() local 899 if (trimRowBytes != rowBytes) { in onTransferPixelsTo() 1060 const size_t trimRowBytes = dims.width() * bpp; in uploadTexData() local 1063 if (caps.writePixelsRowBytesSupport() && (rowBytes != trimRowBytes || restoreGLRowLength)) { in uploadTexData() 1068 SkASSERT(rowBytes == trimRowBytes); in uploadTexData()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 747 const size_t trimRowBytes = currentWidth * bpp; in uploadToTexture() local 755 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()
|