Home
last modified time | relevance | path

Searched refs:texelsShallowCopy (Results 1 – 4 of 4) 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()
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()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1221 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexData() local
1224 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 …]
/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.cpp637 SkAutoTMalloc<GrMipLevel> texelsShallowCopy; in uploadTexDataOptimal() local
639 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()