Searched refs:tightRowBytes (Results 1 – 3 of 3) sorted by relevance
/external/skia/tests/ |
D | WritePixelsTest.cpp | 396 for (auto& tightRowBytes : { true, false }) { in DEF_TEST() 397 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100; in DEF_TEST() 401 if (!tightRowBytes) { in DEF_TEST()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2342 size_t tightRowBytes = bytesPerPixel * width; in onReadPixels() local 2344 size_t readDstRowBytes = tightRowBytes; in onReadPixels() 2350 if (rowBytes != tightRowBytes) { in onReadPixels() 2356 scratch.reset(tightRowBytes * height); in onReadPixels() 2368 if (readDstRowBytes != tightRowBytes) { in onReadPixels() 2383 scratch.reset(tightRowBytes); in onReadPixels() 2390 memcpy(tmpRow, top, tightRowBytes); in onReadPixels() 2391 memcpy(top, bottom, tightRowBytes); in onReadPixels() 2392 memcpy(bottom, tmpRow, tightRowBytes); in onReadPixels() 2399 SkASSERT(rowBytes != tightRowBytes); in onReadPixels() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 1830 size_t tightRowBytes = bpp * width; in onReadPixels() local 1895 memcpy(dstRow, srcRow, tightRowBytes); in onReadPixels() 1900 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, height); in onReadPixels()
|