Home
last modified time | relevance | path

Searched refs:fPool (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/src/sksl/
DSkSLPool.h77 AutoAttachPoolToThread(Pool* p) : fPool(p) { in AutoAttachPoolToThread()
78 if (fPool) { in AutoAttachPoolToThread()
79 fPool->attachToThread(); in AutoAttachPoolToThread()
83 if (fPool) { in ~AutoAttachPoolToThread()
84 fPool->detachFromThread(); in ~AutoAttachPoolToThread()
89 Pool* fPool = nullptr;
DSkSLThreadContext.cpp31 fPool = Pool::Create(); in ThreadContext()
32 fPool->attachToThread(); in ThreadContext()
64 if (fPool) { in ~ThreadContext()
65 fPool->detachFromThread(); in ~ThreadContext()
DSkSLThreadContext.h92 static std::unique_ptr<Pool>& MemoryPool() { return Instance().fPool; } in MemoryPool()
199 std::unique_ptr<Pool> fPool; variable
/third_party/skia/tools/
DAutoreleasePool.mm14 fPool = (void*)[[NSAutoreleasePool alloc] init];
18 [(NSAutoreleasePool*)fPool release];
19 fPool = nullptr;
23 [(NSAutoreleasePool*)fPool drain];
24 fPool = (void*)[[NSAutoreleasePool alloc] init];
DAutoreleasePool.h24 void* fPool;
/third_party/flutter/skia/tools/
DAutoreleasePool.mm14 fPool = (void*)[[NSAutoreleasePool alloc] init];
18 [(NSAutoreleasePool*)fPool release];
19 fPool = nullptr;
23 [(NSAutoreleasePool*)fPool drain];
24 fPool = (void*)[[NSAutoreleasePool alloc] init];
DAutoreleasePool.h24 void* fPool;
/third_party/flutter/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp89 ds = new GrVkDescriptorSet(vkDS, fPoolManager.fPool, handle); in getDescriptorSet()
196 , fPool(nullptr) { in DescriptorPoolManager()
279 if (fPool) { in getNewPool()
280 fPool->unref(gpu); in getNewPool()
289 fPool = gpu->resourceProvider().findOrCreateCompatibleDescriptorPool(fDescType, in getNewPool()
291 SkASSERT(fPool); in getNewPool()
309 dsAllocateInfo.descriptorPool = fPool->descPool(); in getNewDescriptorSet()
324 if (fPool) { in freeGPUResources()
325 fPool->unref(gpu); in freeGPUResources()
326 fPool = nullptr; in freeGPUResources()
[all …]
DGrVkDescriptorSet.cpp18 , fPool(pool) in GrVkDescriptorSet()
20 fPool->ref(); in GrVkDescriptorSet()
24 fPool->unref(gpu); in freeGPUData()
32 fPool->unrefAndAbandon(); in abandonGPUData()
DGrVkDescriptorSetManager.h60 SkASSERT(!fPool); in ~DescriptorPoolManager()
73 GrVkDescriptorPool* fPool; member
DGrVkDescriptorSet.h40 SkDEBUGCODE(mutable) GrVkDescriptorPool* fPool;
/third_party/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp239 ds = new GrVkDescriptorSet(gpu, vkDS, fPoolManager.fPool, handle); in getDescriptorSet()
307 , fPool(nullptr) { in DescriptorPoolManager()
311 if (fPool) { in getNewPool()
312 fPool->unref(); in getNewPool()
321 fPool = gpu->resourceProvider().findOrCreateCompatibleDescriptorPool(fDescType, in getNewPool()
323 return SkToBool(fPool); in getNewPool()
332 if (!fPool || fCurrentDescriptorCount > fMaxDescriptors) { in getNewDescriptorSet()
343 dsAllocateInfo.descriptorPool = fPool->descPool(); in getNewDescriptorSet()
360 if (fPool) { in freeGPUResources()
361 fPool->unref(); in freeGPUResources()
[all …]
DGrVkDescriptorSet.cpp20 , fPool(pool) in GrVkDescriptorSet()
22 fPool->ref(); in GrVkDescriptorSet()
26 fPool->unref(); in freeGPUData()
DGrVkDescriptorSetManager.h59 SkASSERT(!fPool); in ~DescriptorPoolManager()
71 GrVkDescriptorPool* fPool; member
DGrVkDescriptorSet.h43 SkDEBUGCODE(mutable) GrVkDescriptorPool* fPool;
/third_party/node/deps/icu-small/source/common/
Dcmemory.h760 MemoryPool() : fCount(0), fPool() {} in MemoryPool()
764 delete fPool[i]; in ~MemoryPool() local
772 fPool(std::move(other.fPool)) { in MemoryPool()
784 std::swap(fPool, other.fPool);
797 int32_t capacity = fPool.getCapacity(); in create()
799 fPool.resize(capacity == stackCapacity ? 4 * capacity : 2 * capacity, in create()
803 return fPool[fCount++] = new T(std::forward<Args>(args)...); in create()
827 MaybeStackArray<T*, stackCapacity> fPool; variable
868 return this->fPool.getAlias(); in getAlias()
872 return this->fPool.getAlias(); in getAlias()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dcmemory.h760 MemoryPool() : fCount(0), fPool() {} in MemoryPool()
764 delete fPool[i]; in ~MemoryPool() local
772 fPool(std::move(other.fPool)) { in MemoryPool()
784 std::swap(fPool, other.fPool);
797 int32_t capacity = fPool.getCapacity(); in create()
799 fPool.resize(capacity == stackCapacity ? 4 * capacity : 2 * capacity, in create()
803 return fPool[fCount++] = new T(std::forward<Args>(args)...); in create()
827 MaybeStackArray<T*, stackCapacity> fPool; variable
868 return this->fPool.getAlias(); in getAlias()
872 return this->fPool.getAlias(); in getAlias()
[all …]
/third_party/icu/icu4c/source/common/
Dcmemory.h760 MemoryPool() : fCount(0), fPool() {} in MemoryPool()
764 delete fPool[i]; in ~MemoryPool() local
772 fPool(std::move(other.fPool)) { in MemoryPool()
784 std::swap(fPool, other.fPool);
797 int32_t capacity = fPool.getCapacity(); in create()
799 fPool.resize(capacity == stackCapacity ? 4 * capacity : 2 * capacity, in create()
803 return fPool[fCount++] = new T(std::forward<Args>(args)...); in create()
827 MaybeStackArray<T*, stackCapacity> fPool; variable
868 return this->fPool.getAlias(); in getAlias()
872 return this->fPool.getAlias(); in getAlias()
[all …]
/third_party/flutter/skia/src/lazy/
DSkDiscardableMemoryPool.cpp89 sk_sp<DiscardableMemoryPool> fPool; member in __anon06d73f860111::PoolDiscardableMemory
98 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
99 SkASSERT(fPool != nullptr); in PoolDiscardableMemory()
106 fPool->removeFromPool(this); in ~PoolDiscardableMemory()
111 return fPool->lock(this); in lock()
121 fPool->unlock(this); in unlock()
/third_party/skia/src/lazy/
DSkDiscardableMemoryPool.cpp88 sk_sp<DiscardableMemoryPool> fPool; member in __anoned1f98510111::PoolDiscardableMemory
97 : fPool(std::move(pool)), fLocked(true), fPointer(std::move(pointer)), fBytes(bytes) { in PoolDiscardableMemory()
98 SkASSERT(fPool != nullptr); in PoolDiscardableMemory()
105 fPool->removeFromPool(this); in ~PoolDiscardableMemory()
110 return fPool->lock(this); in lock()
120 fPool->unlock(this); in unlock()
/third_party/icu/icu4c/source/test/intltest/
Dsimplethread.cpp39 ThreadPoolThread(ThreadPoolBase *pool, int32_t threadNum) : fPool(pool), fNum(threadNum) {} in ThreadPoolThread()
40 virtual void run() {fPool->callFn(fNum); } in run()
41 ThreadPoolBase *fPool; member in ThreadPoolThread
/third_party/skia/src/sksl/ir/
DSkSLProgram.h89 , fPool(std::move(pool)) in Program()
101 AutoAttachPoolToThread attach(fPool.get()); in ~Program()
190 std::unique_ptr<Pool> fPool; member
/third_party/skia/tests/
DGrMemoryPoolTest.cpp234 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
238 fPool.release(ptr); in ~AutoPoolReleaser()
245 GrMemoryPool& fPool; member in AutoPoolReleaser
/third_party/flutter/skia/tests/
DGrMemoryPoolTest.cpp233 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
237 fPool.release(ptr); in ~AutoPoolReleaser()
244 GrMemoryPool& fPool; member in AutoPoolReleaser
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duresimp.h51 UResourceDataEntry *fPool; member

12