Lines Matching refs:lod
172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer() argument
175 if ((lod >= mHal.drvState.lodCount) || in getPointer()
176 (z && (z >= mHal.drvState.lod[lod].dimZ)) || in getPointer()
184 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array); in getPointer()
188 if ((stride != nullptr) && mHal.drvState.lod[0].dimY) { in getPointer()
189 *stride = mHal.drvState.lod[lod].stride; in getPointer()
191 return mHal.drvState.lod[lod].mallocPtr; in getPointer()
194 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument
208 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument
214 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
219 uint32_t lod, in data() argument
221 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data()
225 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() argument
239 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument
258 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
261 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument
269 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read()
275 if (x >= mHal.drvState.lod[0].dimX) { in elementData()
280 if (y > 0 && y >= mHal.drvState.lod[0].dimY) { in elementData()
285 if (z > 0 && z >= mHal.drvState.lod[0].dimZ) { in elementData()
308 if (x >= mHal.drvState.lod[0].dimX) { in elementRead()
313 if (y > 0 && y >= mHal.drvState.lod[0].dimY) { in elementRead()
318 if (z > 0 && z >= mHal.drvState.lod[0].dimZ) { in elementRead()
363 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
560 uint32_t oldDimX = mHal.drvState.lod[0].dimX; in resize1D()
683 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DData() argument
686 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
690 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation1DElementData() argument
696 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementData() argument
701 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
704 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
707 …ion3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in rsi_Allocation3DData() argument
710 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData()
889 uint32_t lod, RsAllocationCubemapFace face, in rsi_AllocationGetPointer() argument
894 return alloc->getPointer(rsc, lod, face, z, array, stride); in rsi_AllocationGetPointer()
897 void rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DRead() argument
900 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DRead()
904 uint32_t lod, void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementRead() argument
910 uint32_t lod, RsAllocationCubemapFace face, uint32_t w, in rsi_Allocation2DRead() argument
913 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DRead()
918 uint32_t lod, uint32_t w, uint32_t h, uint32_t d, in rsi_Allocation3DRead() argument
921 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()