Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkGpu.cpp635 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local
637 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()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1186 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()
[all …]
/external/skia/src/gpu/vk/
DGrVkGpu.cpp872 SkAutoTArray<GrMipLevel> texelsShallowCopy(mipLevelCount); in uploadTexDataOptimal() local
873 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()