Searched refs: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 DrsElement.cpp249 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); local
250 if (!allocMem) {
255 Element *e = new (allocMem) Element(rsc);
313 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Element), 0); local
314 if (!allocMem) {
319 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);
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
99 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); local
101 if (!allocMem) {
106 Allocation *a = new (allocMem) Allocation(rsc, alloc, type);
H A DrsType.cpp252 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); local
253 if (!allocMem) {
258 Type *nt = new (allocMem) Type(rsc);

Completed in 318 milliseconds