Searched refs:texelsShallowCopy (Results 1 – 4 of 4) 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()727 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()730 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()731 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()736 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
1221 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local1224 texelsShallowCopy.reset(mipLevelCount); in uploadTexData()1225 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexData()1272 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexData()1279 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()1280 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()1305 if (!texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexData()1321 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()1322 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexData()1337 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexData()[all …]
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 …]
637 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local639 texelsShallowCopy.reset(mipLevelCount); in uploadTexDataOptimal()640 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexDataOptimal()647 if (!texelsShallowCopy[0].fPixels) { in uploadTexDataOptimal()659 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()729 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()732 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()733 ? texelsShallowCopy[currentMipLevel].fRowBytes in uploadTexDataOptimal()738 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()