Home
last modified time | relevance | path

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

/external/skia/tests/
DWritePixelsTest.cpp395 for (auto& tightRowBytes : { true, false }) { in DEF_TEST()
396 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100; in DEF_TEST()
400 if (!tightRowBytes) { in DEF_TEST()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1179 size_t tightRowBytes = GrBytesPerPixel(config) * width; in onReadPixels() local
1180 scratch.reset(tightRowBytes); in onReadPixels()
1187 memcpy(tmpRow, top, tightRowBytes); in onReadPixels()
1188 memcpy(top, bottom, tightRowBytes); in onReadPixels()
1189 memcpy(bottom, tmpRow, tightRowBytes); in onReadPixels()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2409 size_t tightRowBytes = bytesPerPixel * width; in onReadPixels() local
2411 size_t readDstRowBytes = tightRowBytes; in onReadPixels()
2417 if (rowBytes != tightRowBytes) { in onReadPixels()
2423 scratch.reset(tightRowBytes * height); in onReadPixels()
2435 if (readDstRowBytes != tightRowBytes) { in onReadPixels()
2450 scratch.reset(tightRowBytes); in onReadPixels()
2457 memcpy(tmpRow, top, tightRowBytes); in onReadPixels()
2458 memcpy(top, bottom, tightRowBytes); in onReadPixels()
2459 memcpy(bottom, tmpRow, tightRowBytes); in onReadPixels()
2466 SkASSERT(rowBytes != tightRowBytes); in onReadPixels()
[all …]