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 | 249 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()
|
D | rsType.cpp | 244 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Type), 0); in getTypeRef() local 245 if (!allocMem) { in getTypeRef() 250 Type *nt = new (allocMem) Type(rsc); in getTypeRef()
|
D | rsAllocation.cpp | 54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocation() local 56 if (!allocMem) { in createAllocation() 61 Allocation *a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocation()
|