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 DrsType.cpp244 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); local
245 if (!allocMem) {
250 Type *nt = new (allocMem) Type(rsc);
H A DrsAllocation.cpp54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); local
56 if (!allocMem) {
61 Allocation *a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);

Completed in 1848 milliseconds