Home
last modified time | relevance | path

Searched refs:MemoryPoolAccessor (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/ops/
DGrOp.cpp24 class MemoryPoolAccessor { class
29 MemoryPoolAccessor() {} in MemoryPoolAccessor() function in __anona964ca640111::MemoryPoolAccessor
30 ~MemoryPoolAccessor() {} in ~MemoryPoolAccessor()
32 MemoryPoolAccessor() { gOpPoolSpinLock.acquire(); }
33 ~MemoryPoolAccessor() { gOpPoolSpinLock.release(); }
48 return MemoryPoolAccessor().pool()->allocate(size); in operator new()
52 return MemoryPoolAccessor().pool()->release(target); in operator delete()
/external/skia/src/gpu/
DGrProcessor.cpp100 class MemoryPoolAccessor { class
105 MemoryPoolAccessor() {} in MemoryPoolAccessor() function in __anon73b0d2440111::MemoryPoolAccessor
106 ~MemoryPoolAccessor() {} in ~MemoryPoolAccessor()
108 MemoryPoolAccessor() { gProcessorSpinlock.acquire(); }
109 ~MemoryPoolAccessor() { gProcessorSpinlock.release(); }
174 return MemoryPoolAccessor().pool()->allocate(size); in operator new()
178 return MemoryPoolAccessor().pool()->release(target); in operator delete()