Home
last modified time | relevance | path

Searched refs:allocMem (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/
DrsSampler.cpp101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0); in getSampler() local
102 if (!allocMem) { in getSampler()
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler()
DrsElement.cpp251 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() local
252 if (!allocMem) { in createRef()
257 Element *e = new (allocMem) Element(rsc); in createRef()
315 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() local
316 if (!allocMem) { in createRef()
321 Element *e = new (allocMem) Element(rsc); in createRef()
DrsAllocation.cpp65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided() local
67 if (!allocMem) { 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()
108 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAdapter() local
110 if (!allocMem) { in createAdapter()
115 Allocation *a = new (allocMem) Allocation(rsc, alloc, type); in createAdapter()
DrsType.cpp252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); in getTypeRef() local
253 if (!allocMem) { in getTypeRef()
258 Type *nt = new (allocMem) Type(rsc); in getTypeRef()