Lines Matching defs:lod

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