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

/external/skia/tests/
H A DWritePixelsTest.cpp396 for (auto& tightRowBytes : { true, false }) {
397 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100;
401 if (!tightRowBytes) {
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp2342 size_t tightRowBytes = bytesPerPixel * width; local
2344 size_t readDstRowBytes = tightRowBytes;
2350 if (rowBytes != tightRowBytes) {
2356 scratch.reset(tightRowBytes * height);
2368 if (readDstRowBytes != tightRowBytes) {
2383 scratch.reset(tightRowBytes);
2390 memcpy(tmpRow, top, tightRowBytes);
2391 memcpy(top, bottom, tightRowBytes);
2392 memcpy(bottom, tmpRow, tightRowBytes);
2399 SkASSERT(rowBytes != tightRowBytes);
[all...]
/external/skia/src/gpu/vk/
H A DGrVkGpu.cpp1830 size_t tightRowBytes = bpp * width; local
1895 memcpy(dstRow, srcRow, tightRowBytes);
1900 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, height);

Completed in 159 milliseconds