Home
last modified time | relevance | path

Searched refs:trimRowBytes (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/core/
H A DSkConvertPixels.h21 size_t trimRowBytes, int rowCount) { in SkRectMemcpy()
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()
20 SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, size_t trimRowBytes, int rowCount) SkRectMemcpy() argument
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.cpp368 size_t trimRowBytes = width * SkColorTypeBytesPerPixel(colorType); in uploadTextureData() local
369 size_t dstRowBytes = GrDawnRoundRowBytes(trimRowBytes); in uploadTextureData()
373 SkRectMemcpy(slice.fOffsetMapPtr, dstRowBytes, src, srcRowBytes, trimRowBytes, height); in uploadTextureData()
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp772 size_t trimRowBytes = rect.width() * bpp; in uploadTexDataLinear() local
807 trimRowBytes, in uploadTexDataLinear()
989 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal() local
995 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
/third_party/skia/src/gpu/gl/
H A 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/
H A DGrD3DGpu.cpp758 const size_t trimRowBytes = currentWidth * bpp; in uploadToTexture() local
766 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()

Completed in 18 milliseconds