Lines Matching refs:lod

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