Home
last modified time | relevance | path

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

/frameworks/rs/
DrsAllocation.cpp560 uint32_t oldDimX = mHal.drvState.lod[0].dimX; in resize1D() local
561 if (dimX == oldDimX) { in resize1D()
566 if (dimX < oldDimX) { in resize1D()
567 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); in resize1D()
/frameworks/rs/driver/
DrsdAllocation.cpp603 const uint32_t oldDimX = alloc->mHal.drvState.lod[0].dimX; in rsdAllocationResize() local
622 if (dimX > oldDimX) { in rsdAllocationResize()
624 memset(((uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr) + stride * oldDimX, in rsdAllocationResize()
625 0, stride * (dimX - oldDimX)); in rsdAllocationResize()