Searched refs:allocMem (Results 1 – 4 of 4) sorted by relevance
/frameworks/rs/ |
D | rsSampler.cpp | 101 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()
|
D | rsElement.cpp | 251 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()
|
D | rsAllocation.cpp | 65 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()
|
D | rsType.cpp | 252 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()
|