Home
last modified time | relevance | path

Searched refs:tightRowBytes (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrSurfaceContext.cpp141 size_t tightRowBytes = origDstInfo.minRowBytes(); in readPixels() local
143 rowBytes = tightRowBytes; in readPixels()
144 } else if (rowBytes < tightRowBytes) { in readPixels()
170 tightRowBytes = dstInfo.minRowBytes(); in readPixels()
248 bool makeTight = !caps->readPixelsRowBytesSupport() && tightRowBytes != rowBytes; in readPixels()
303 size_t tightRowBytes = origSrcInfo.minRowBytes(); in writePixels() local
305 rowBytes = tightRowBytes; in writePixels()
306 } else if (rowBytes < tightRowBytes) { in writePixels()
331 tightRowBytes = srcInfo.minRowBytes(); in writePixels()
440 bool makeTight = !caps->writePixelsRowBytesSupport() && rowBytes != tightRowBytes; in writePixels()
/external/skqp/tests/
DWritePixelsTest.cpp420 for (auto& tightRowBytes : { true, false }) { in DEF_TEST()
421 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100; in DEF_TEST()
425 if (!tightRowBytes) { in DEF_TEST()
/external/skia/tests/
DWritePixelsTest.cpp419 for (auto& tightRowBytes : { true, false }) { in DEF_TEST()
420 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100; in DEF_TEST()
424 if (!tightRowBytes) { in DEF_TEST()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp2366 size_t tightRowBytes = bytesPerPixel * width; in onReadPixels() local
2368 size_t readDstRowBytes = tightRowBytes; in onReadPixels()
2373 if (rowBytes != tightRowBytes) { in onReadPixels()
2379 scratch.reset(tightRowBytes * height); in onReadPixels()
2407 if (readDstRowBytes != tightRowBytes) { in onReadPixels()
2414 SkASSERT(rowBytes != tightRowBytes); in onReadPixels()
2417 SkRectMemcpy(dst, rowBytes, src, readDstRowBytes, tightRowBytes, height); in onReadPixels()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp2145 size_t tightRowBytes = bpp * width; in onReadPixels() local
2201 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, height); in onReadPixels()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp2476 size_t tightRowBytes = bpp * width; in onReadPixels() local
2532 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, height); in onReadPixels()