Home
last modified time | relevance | path

Searched refs:texelsShallowCopy (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkGpu.cpp645 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local
648 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()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1042 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local
1045 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 …]