Lines Matching refs:lod

97 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face,
100 if ((lod >= mHal.drvState.lodCount) ||
101 (z && (z >= mHal.drvState.lod[lod].dimZ)) ||
109 if ((stride != NULL) && mHal.drvState.lod[0].dimY) {
110 *stride = mHal.drvState.lod[lod].stride;
112 return mHal.drvState.lod[lod].mallocPtr;
115 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod,
128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
132 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
134 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
139 uint32_t lod,
141 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
145 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod,
158 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
161 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
176 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
179 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
187 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
200 if (x >= mHal.drvState.lod[0].dimX) {
220 if (x >= mHal.drvState.lod[0].dimX) {
225 if (y >= mHal.drvState.lod[0].dimY) {
271 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl);
469 uint32_t oldDimX = mHal.drvState.lod[0].dimX;
582 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod,
585 a->data(rsc, xoff, lod, count, data, sizeBytes);
588 void rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face,
594 void rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod,
600 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
603 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
606 void rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
609 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
761 uint32_t lod, RsAllocationCubemapFace face,
766 return alloc->getPointer(rsc, lod, face, z, array, stride);
769 void rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod,
772 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes);
776 uint32_t lod, RsAllocationCubemapFace face, uint32_t w,
779 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);