Lines Matching refs:funcs

58         a->getContext()->mHal.funcs.freeRuntimeMem(ptr);
66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
76 if (rsc->mHal.funcs.allocation.initOem != nullptr) {
78 success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr);
86 success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment);
90 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences());
109 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
118 if (!rsc->mHal.funcs.allocation.initAdapter(rsc, a)) {
140 rsc->mHal.funcs.allocation.adapterOffset(rsc, this);
163 mRSC->mHal.funcs.allocation.destroy(mRSC, this);
167 rsc->mHal.funcs.allocation.syncAll(rsc, this, src);
180 if (mRSC->mHal.funcs.allocation.getPointer != nullptr) {
182 mRSC->mHal.funcs.allocation.getPointer(rsc, this, lod, face, z, array);
205 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
211 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
218 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
235 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
253 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
264 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
299 rsc->mHal.funcs.allocation.elementData(rsc, this, x, y, z, data, cIdx, sizeBytes);
334 rsc->mHal.funcs.allocation.elementRead(rsc, this, x, y, z, data, cIdx, sizeBytes);
421 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this);
424 rsc->mHal.funcs.allocation.unlock1D(rsc, this);
432 const uint8_t *src = (const uint8_t*)rsc->mHal.funcs.allocation.lock1D(rsc, this);
439 rsc->mHal.funcs.allocation.unlock1D(rsc, this);
458 stream->addByteArray(rsc->mHal.funcs.allocation.lock1D(rsc, this), dataSize);
459 rsc->mHal.funcs.allocation.unlock1D(rsc, this);
518 mRSC->mHal.funcs.allocation.markDirty(rsc, this);
533 if (rsc->mHal.funcs.allocation.updateCachedObject != nullptr) {
534 rsc->mHal.funcs.allocation.updateCachedObject(rsc, this, (rs_allocation *)dstObj);
542 void *ptr = mRSC->mHal.funcs.allocation.lock1D(mRSC, this);
544 mRSC->mHal.funcs.allocation.unlock1D(mRSC, this);
567 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX);
568 rsc->mHal.funcs.allocation.unlock1D(rsc, this);
570 rsc->mHal.funcs.allocation.resize(rsc, this, t.get(), mHal.state.hasReferences);
637 //return rsc->mHal.funcs.allocation.getSurface(rsc, this);
659 rsc->mHal.funcs.allocation.setSurface(rsc, this, nw);
663 rsc->mHal.funcs.allocation.ioSend(rsc, this);
674 rsc->mHal.funcs.allocation.ioReceive(rsc, this);
713 rsc->mHal.funcs.allocation.generateMipmaps(rsc, alloc);
818 rsc->mHal.funcs.allocation.generateMipmaps(rsc, texAlloc);
856 rsc->mHal.funcs.allocation.generateMipmaps(rsc, texAlloc);
873 rsc->mHal.funcs.allocation.allocData2D(rsc, dst, dstXoff, dstYoff, dstMip,
890 rsc->mHal.funcs.allocation.allocData3D(rsc, dst, dstXoff, dstYoff, dstZoff, dstMip,
940 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes);