Searched refs:texelsShallowCopy (Results 1 – 2 of 2) sorted by relevance
645 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local648 texelsShallowCopy.reset(mipLevelCount); in uploadTexDataOptimal()649 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexDataOptimal()653 SkASSERT(texelsShallowCopy[currentMipLevel].fPixels); in uploadTexDataOptimal()696 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes ? in uploadTexDataOptimal()697 texelsShallowCopy[currentMipLevel].fRowBytes : in uploadTexDataOptimal()702 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
1042 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local1045 texelsShallowCopy.reset(mipLevelCount); in uploadTexData()1046 memcpy(texelsShallowCopy.get(), texels, mipLevelCount*sizeof(GrMipLevel)); in uploadTexData()1050 SkASSERT(texelsShallowCopy[currentMipLevel].fPixels); in uploadTexData()1123 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes ? in uploadTexData()1124 texelsShallowCopy[currentMipLevel].fRowBytes : in uploadTexData()1140 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexData()1155 texelsShallowCopy[currentMipLevel].fPixels = buffer + in uploadTexData()1157 texelsShallowCopy[currentMipLevel].fRowBytes = trimRowBytes; in uploadTexData()1174 texelsShallowCopy, mipLevelCount, width, height); in uploadTexData()[all …]