Lines Matching refs:trimRowBytes
882 const size_t trimRowBytes = width * bpp; in onTransferPixels() local
884 rowBytes = trimRowBytes; in onTransferPixels()
892 if (trimRowBytes != rowBytes) { in onTransferPixels()
1241 const size_t trimRowBytes = currentWidth * bpp; in uploadTexData() local
1242 const size_t trimmedSize = trimRowBytes * currentHeight; in uploadTexData()
1246 : trimRowBytes; in uploadTexData()
1248 if (((!caps.unpackRowLengthSupport() || usesMips) && trimRowBytes != rowBytes)) { in uploadTexData()
1276 const size_t trimRowBytes = currentWidth * bpp; in uploadTexData() local
1288 : trimRowBytes; in uploadTexData()
1295 if (rowBytes != trimRowBytes) { in uploadTexData()
1300 } else if (trimRowBytes != rowBytes) { in uploadTexData()
1304 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexData()
1308 texelsShallowCopy[currentMipLevel].fRowBytes = trimRowBytes; in uploadTexData()
3943 const size_t trimRowBytes = w * bpp; in createTestingOnlyBackendTexture() local
3945 rowBytes = trimRowBytes; in createTestingOnlyBackendTexture()
3978 if (trimRowBytes != rowBytes && this->glCaps().unpackRowLengthSupport()) { in createTestingOnlyBackendTexture()
4008 } else if (trimRowBytes != rowBytes && !restoreGLRowLength) { in createTestingOnlyBackendTexture()
4012 memcpy(©[y*trimRowBytes], &((const char*)pixels)[y*rowBytes], trimRowBytes); in createTestingOnlyBackendTexture()