Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrBatch.cpp24 class MemoryPoolAccessor { class
26 MemoryPoolAccessor() { gBatchSpinlock.acquire(); } in MemoryPoolAccessor() function in __anona1cc16b00111::MemoryPoolAccessor
28 ~MemoryPoolAccessor() { gBatchSpinlock.release(); } in ~MemoryPoolAccessor()
42 return MemoryPoolAccessor().pool()->allocate(size);
46 return MemoryPoolAccessor().pool()->release(target); in operator delete()
/external/skia/src/gpu/
DGrProcessor.cpp85 class MemoryPoolAccessor { class
87 MemoryPoolAccessor() { gProcessorSpinlock.acquire(); } in MemoryPoolAccessor() function in __anon27f646650111::MemoryPoolAccessor
89 ~MemoryPoolAccessor() { gProcessorSpinlock.release(); } in ~MemoryPoolAccessor()
110 return MemoryPoolAccessor().pool()->allocate(size); in operator new()
114 return MemoryPoolAccessor().pool()->release(target); in operator delete()