Searched refs:memPool (Results 1 – 1 of 1) sorted by relevance
22 static void set_thread_local_memory_pool(MemoryPool* memPool) { in set_thread_local_memory_pool() argument23 sMemPool = memPool; in set_thread_local_memory_pool()56 MemoryPool* memPool = get_thread_local_memory_pool(); in detachFromThread() local57 VLOG("DETACH Pool:0x%016llX\n", (uint64_t)memPool); in detachFromThread()58 SkASSERT(memPool == fMemPool.get()); in detachFromThread()59 memPool->resetScratchSpace(); in detachFromThread()65 MemoryPool* memPool = get_thread_local_memory_pool(); in AllocMemory() local66 if (memPool) { in AllocMemory()67 void* ptr = memPool->allocate(size); in AllocMemory()68 VLOG("ALLOC Pool:0x%016llX 0x%016llX\n", (uint64_t)memPool, (uint64_t)ptr); in AllocMemory()[all …]