Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsAllocation.cpp408 Allocation *texAlloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps() local
409 AllocationGenerateScriptMips(rsc, texAlloc); in rsi_AllocationGenerateMipmaps()
413 Allocation *texAlloc = static_cast<Allocation *>(va); in rsi_AllocationCopyToBitmap() local
414 const Type * t = texAlloc->getType(); in rsi_AllocationCopyToBitmap()
422 memcpy(data, texAlloc->getPtr(), s); in rsi_AllocationCopyToBitmap()
466 Allocation *texAlloc = static_cast<Allocation *>(va); in AllocationGenerateScriptMips() local
467 uint32_t numFaces = texAlloc->getType()->getDimFaces() ? 6 : 1; in AllocationGenerateScriptMips()
469 Adapter2D adapt(rsc, texAlloc); in AllocationGenerateScriptMips()
470 Adapter2D adapt2(rsc, texAlloc); in AllocationGenerateScriptMips()
473 for (uint32_t lod=0; lod < (texAlloc->getType()->getLODCount() -1); lod++) { in AllocationGenerateScriptMips()
[all …]