Searched defs:allocMem (Results 1 - 4 of 4) sorted by relevance

/frameworks/rs/
H A DrsSampler.cpp101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0); local
102 if (!allocMem) {
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
H A DrsType.cpp252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); local
253 if (!allocMem) {
258 Type *nt = new (allocMem) Type(rsc);
H A DrsElement.cpp251 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); local
252 if (!allocMem) {
257 Element *e = new (allocMem) Element(rsc);
315 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); local
316 if (!allocMem) {
321 Element *e = new (allocMem) Element(rsc);
H A DrsAllocation.cpp66 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); local
68 if (!allocMem) {
77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr);
85 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
89 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
109 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); local
111 if (!allocMem) {
116 Allocation *a = new (allocMem) Allocation(rsc, alloc, type);

Completed in 523 milliseconds