Lines Matching refs:texelsShallowCopy
1186 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local
1189 texelsShallowCopy.reset(mipLevelCount); in uploadTexData()
1190 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexData()
1237 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexData()
1244 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()
1245 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()
1270 if (!texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexData()
1286 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()
1287 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()
1302 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexData()
1306 texelsShallowCopy[currentMipLevel].fPixels = buffer + in uploadTexData()
1308 texelsShallowCopy[currentMipLevel].fRowBytes = trimRowBytes; in uploadTexData()
1322 texelsShallowCopy, mipLevelCount, width, height); in uploadTexData()
1328 if (!texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexData()
1341 texelsShallowCopy[currentMipLevel].fPixels)); in uploadTexData()