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.cpp249 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() local
250 if (!allocMem) { in createRef()
255 Element *e = new (allocMem) Element(rsc); in createRef()
313 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); in createRef() local
314 if (!allocMem) { in createRef()
319 Element *e = new (allocMem) Element(rsc); in createRef()
DrsAllocation.cpp66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocation() local
68 if (!allocMem) { in createAllocation()
77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocation()
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocation()
99 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAdapter() local
101 if (!allocMem) { in createAdapter()
106 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()