Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkConvertPixels.h21 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/flutter/skia/src/core/
DSkConvertPixels.h20 size_t trimRowBytes, int rowCount) { in SkRectMemcpy() argument
21 SkASSERT(trimRowBytes <= dstRB); in SkRectMemcpy()
22 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy()
23 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy()
24 memcpy(dst, src, trimRowBytes * rowCount); in SkRectMemcpy()
29 memcpy(dst, src, trimRowBytes); in SkRectMemcpy()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpu.mm257 const size_t trimRowBytes = currentWidth * bpp;
263 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight);
267 sourceBytesPerRow: trimRowBytes
268 sourceBytesPerImage: trimRowBytes*currentHeight
741 const size_t trimRowBytes = w * bytesPerPixel;
745 srcRowBytes = trimRowBytes;
750 SkRectMemcpy(buffer, trimRowBytes, src, srcRowBytes, trimRowBytes, h);
763 const size_t trimRowBytes = currentWidth * bytesPerPixel;
768 sourceBytesPerRow: trimRowBytes
769 sourceBytesPerImage: trimRowBytes*currentHeight
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp650 size_t trimRowBytes = width * bpp; in uploadTexDataLinear() local
681 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes, in uploadTexDataLinear()
827 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() local
833 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
1491 const size_t trimRowBytes = width * bytesPerPixel; in copy_src_data() local
1493 srcRowBytes = trimRowBytes; in copy_src_data()
1495 SkASSERT(trimRowBytes * height <= alloc.fSize); in copy_src_data()
1497 SkRectMemcpy(mapPtr, trimRowBytes, srcData, srcRowBytes, trimRowBytes, height); in copy_src_data()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp360 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/
DGrVkGpu.cpp753 size_t trimRowBytes = rect.width() * bpp; in uploadTexDataLinear() local
788 trimRowBytes, in uploadTexDataLinear()
924 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() local
930 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp883 const size_t trimRowBytes = width * bpp; in onTransferPixelsTo() local
890 if (trimRowBytes != rowBytes) { in onTransferPixelsTo()
991 const size_t trimRowBytes = currentWidth * dataBpp; in allocate_and_populate_texture() local
993 if (rowBytes != trimRowBytes) { in allocate_and_populate_texture()
1040 const size_t trimRowBytes = currentWidth * dataBpp; in allocate_and_populate_texture() local
1042 if (rowBytes != trimRowBytes) { in allocate_and_populate_texture()
1197 const size_t trimRowBytes = currentWidth * bpp; in uploadTexData() local
1200 if (caps.writePixelsRowBytesSupport() && rowBytes != trimRowBytes) { in uploadTexData()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm383 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/
DGrGLGpu.cpp895 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/
DGrD3DGpu.cpp747 const size_t trimRowBytes = currentWidth * bpp; in uploadToTexture() local
755 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()