Home
last modified time | relevance | path

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

/frameworks/rs/
DrsAllocation.cpp469 uint32_t oldDimX = mHal.drvState.lod[0].dimX; in resize1D() local
470 if (dimX == oldDimX) { in resize1D()
475 if (dimX < oldDimX) { in resize1D()
476 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); in resize1D()
/frameworks/rs/driver/
DrsdAllocation.cpp535 const uint32_t oldDimX = alloc->mHal.drvState.lod[0].dimX; in rsdAllocationResize() local
554 if (dimX > oldDimX) { in rsdAllocationResize()
556 memset(((uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr) + stride * oldDimX, in rsdAllocationResize()
557 0, stride * (dimX - oldDimX)); in rsdAllocationResize()