Lines Matching refs:Allocation

28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,  in Allocation()  function in android::renderscript::Allocation
42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation() function in android::renderscript::Allocation
54 void Allocation::operator delete(void* ptr) { in operator delete()
56 Allocation *a = (Allocation*) ptr; in operator delete()
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided()
65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided()
73 Allocation *a = nullptr; in createAllocationStrided()
76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided()
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
88 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation()
103 return Allocation::createAllocationStrided(rsc, type, usages, mc, ptr, kMinimumRSAlignment); in createAllocation()
106 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { in createAdapter()
108 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAdapter()
115 Allocation *a = new (allocMem) Allocation(rsc, alloc, type); in createAdapter()
126 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) { in adapterOffset()
144 void Allocation::updateCache() { in updateCache()
153 Allocation::~Allocation() { in ~Allocation()
168 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll()
172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer()
194 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data()
212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data()
218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data()
225 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read()
242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read()
261 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read()
273 void Allocation::elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z, in elementData()
306 void Allocation::elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z, in elementRead()
338 void Allocation::addProgramToDirty(const Program *p) { in addProgramToDirty()
342 void Allocation::removeProgramToDirty(const Program *p) { in removeProgramToDirty()
352 void Allocation::dumpLOGV(const char *prefix) const { in dumpLOGV()
366 uint32_t Allocation::getPackedSize() const { in getPackedSize()
371 void Allocation::writePackedData(Context *rsc, const Type *type, in writePackedData()
420 void Allocation::unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) { in unpackVec3Allocation()
428 void Allocation::packVec3Allocation(Context *rsc, OStream *stream) const { in packVec3Allocation()
442 void Allocation::serialize(Context *rsc, OStream *stream) const { in serialize()
466 Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
483 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); in createFromStream()
512 void Allocation::sendDirty(const Context *rsc) const { in sendDirty()
521 void Allocation::incRefs(const void *ptr, size_t ct, size_t startOff) const { in incRefs()
525 void Allocation::decRefs(const void *ptr, size_t ct, size_t startOff) const { in decRefs()
532 void Allocation::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject()
541 void Allocation::freeChildrenUnlocked () { in freeChildrenUnlocked()
547 bool Allocation::freeChildren() { in freeChildren()
556 void Allocation::copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, … in copyRange1D()
559 void Allocation::resize1D(Context *rsc, uint32_t dimX) { in resize1D()
575 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) { in resize2D()
579 void Allocation::setupGrallocConsumer(const Context *rsc, uint32_t numAlloc) { in setupGrallocConsumer()
592 void * Allocation::getSurface(const Context *rsc) { in getSurface()
607 void Allocation::shareBufferQueue(const Context *rsc, const Allocation *alloc) { in shareBufferQueue()
620 void Allocation::setSurface(const Context *rsc, RsNativeWindow sur) { in setSurface()
625 void Allocation::ioSend(const Context *rsc) { in ioSend()
629 void Allocation::ioReceive(const Context *rsc) { in ioReceive()
648 bool Allocation::hasSameDims(const Allocation *other) const { in hasSameDims()
666 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationSyncAll()
672 Allocation *alloc = static_cast<Allocation *>(va); in rsi_AllocationGenerateMipmaps()
677 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationCopyToBitmap()
685 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation1DData()
691 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation1DElementData()
697 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationElementData()
703 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation2DData()
709 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation3DData()
715 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationRead()
730 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationResize1D()
735 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationResize2D()
742Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped()
754Allocation * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, … in rsi_AllocationCreateStrided()
769 Allocation *texAlloc = static_cast<Allocation *>(vTexAlloc); in rsi_AllocationCreateFromBitmap()
794 Allocation *texAlloc = static_cast<Allocation *>(vTexAlloc); in rsi_AllocationCubeCreateFromBitmap()
831 Allocation *dst = static_cast<Allocation *>(dstAlloc); in rsi_AllocationCopy2DRange()
832 Allocation *src= static_cast<Allocation *>(srcAlloc); in rsi_AllocationCopy2DRange()
848 Allocation *dst = static_cast<Allocation *>(dstAlloc); in rsi_AllocationCopy3DRange()
849 Allocation *src= static_cast<Allocation *>(srcAlloc); in rsi_AllocationCopy3DRange()
856 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetupBufferQueue()
861 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetSurface()
867 Allocation *alloc1 = static_cast<Allocation *>(valloc1); in rsi_AllocationShareBufferQueue()
868 Allocation *alloc2 = static_cast<Allocation *>(valloc2); in rsi_AllocationShareBufferQueue()
873 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationSetSurface()
878 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoSend()
883 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationIoReceive()
891 Allocation *alloc = static_cast<Allocation *>(valloc); in rsi_AllocationGetPointer()
899 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation1DRead()
905 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationElementRead()
912 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation2DRead()
920 Allocation *a = static_cast<Allocation *>(va); in rsi_Allocation3DRead()
927 Allocation * alloc = Allocation::createAdapter(rsc, in rsi_AllocationAdapterCreate()
928 static_cast<Allocation *>(vbase), static_cast<Type *>(vwindow)); in rsi_AllocationAdapterCreate()
937 Allocation *a = static_cast<Allocation *>(va); in rsi_AllocationAdapterOffset()