Searched refs:texelsShallowCopy (Results 1 – 3 of 3) sorted by relevance
635 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local637 texelsShallowCopy.reset(mipLevelCount); in uploadTexDataOptimal()638 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexDataOptimal()645 if (!texelsShallowCopy[0].fPixels) { in uploadTexDataOptimal()657 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()735 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()738 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()739 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()744 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
1186 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local1189 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()[all …]
872 SkAutoTArray<GrMipLevel> texelsShallowCopy(mipLevelCount); in uploadTexDataOptimal() local873 std::copy_n(texels, mipLevelCount, texelsShallowCopy.get()); in uploadTexDataOptimal()883 SkASSERT(texelsShallowCopy[0].fPixels && texelsShallowCopy[0].fRowBytes); in uploadTexDataOptimal()913 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()916 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes; in uploadTexDataOptimal()920 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()