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

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

Completed in 93 milliseconds