Lines Matching refs:lod
160 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer() argument
163 if ((lod >= mHal.drvState.lodCount) || in getPointer()
164 (z && (z >= mHal.drvState.lod[lod].dimZ)) || in getPointer()
172 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer()
176 if ((stride != nullptr) && mHal.drvState.lod[0].dimY) { in getPointer()
177 *stride = mHal.drvState.lod[lod].stride; in getPointer()
179 return mHal.drvState.lod[lod].mallocPtr; in getPointer()
182 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument
195 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
199 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument
201 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
206 uint32_t lod, in data() argument
208 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data()
212 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() argument
225 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
228 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument
243 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
246 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument
254 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read()
262 if (x >= mHal.drvState.lod[0].dimX) { in elementData()
267 if (y > 0 && y >= mHal.drvState.lod[0].dimY) { in elementData()
272 if (z > 0 && z >= mHal.drvState.lod[0].dimZ) { in elementData()
297 if (x >= mHal.drvState.lod[0].dimX) { in elementRead()
302 if (y > 0 && y >= mHal.drvState.lod[0].dimY) { in elementRead()
307 if (z > 0 && z >= mHal.drvState.lod[0].dimZ) { in elementRead()
352 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
550 uint32_t oldDimX = mHal.drvState.lod[0].dimX; in resize1D()
663 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DData() argument
666 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
670 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation1DElementData() argument
676 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementData() argument
681 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
684 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
687 …ion3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in rsi_Allocation3DData() argument
690 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData()
845 uint32_t lod, RsAllocationCubemapFace face, in rsi_AllocationGetPointer() argument
850 return alloc->getPointer(rsc, lod, face, z, array, stride); in rsi_AllocationGetPointer()
853 void rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DRead() argument
856 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DRead()
860 uint32_t lod, void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementRead() argument
866 uint32_t lod, RsAllocationCubemapFace face, uint32_t w, in rsi_Allocation2DRead() argument
869 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DRead()
874 uint32_t lod, uint32_t w, uint32_t h, uint32_t d, in rsi_Allocation3DRead() argument
877 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()