Home
last modified time | relevance | path

Searched refs:TPoolAllocator (Results 1 – 9 of 9) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp41 thread_local TPoolAllocator* threadPoolAllocator = nullptr;
43 TPoolAllocator* GetDefaultThreadPoolAllocator() in GetDefaultThreadPoolAllocator()
45 thread_local TPoolAllocator defaultAllocator; in GetDefaultThreadPoolAllocator()
51 TPoolAllocator& GetThreadPoolAllocator() in GetThreadPoolAllocator()
57 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator) in SetThreadPoolAllocator()
66 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in glslang::TPoolAllocator
111 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()
160 void TPoolAllocator::push() in push()
179 void TPoolAllocator::pop() in pop()
211 void TPoolAllocator::popAll() in popAll()
[all …]
DShaderLang.cpp239 TPoolAllocator* PerProcessGPA = nullptr;
434 TPoolAllocator& previousAllocator = GetThreadPoolAllocator(); in SetupBuiltinSymbolTable()
435 TPoolAllocator* builtInPoolAllocator = new TPoolAllocator; in SetupBuiltinSymbolTable()
1317 PerProcessGPA = new TPoolAllocator(); in ShInitialize()
1718 pool = new TPoolAllocator; in TShader()
1909 pool = new TPoolAllocator; in TProgram()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DPoolAlloc.h124 class TPoolAllocator {
126 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);
131 ~TPoolAllocator();
226 TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator
227 TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor
236 extern TPoolAllocator* GetGlobalPoolAllocator();
237 extern void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator);
265 pool_allocator(TPoolAllocator& a) : allocator(&a) { } in pool_allocator()
307 void setAllocator(TPoolAllocator *a) { allocator = a; } in setAllocator()
308 TPoolAllocator& getAllocator() const { return *allocator; } in getAllocator()
[all …]
DPoolAlloc.cpp44 TPoolAllocator* GetGlobalPoolAllocator() in GetGlobalPoolAllocator()
47 return static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetGlobalPoolAllocator()
50 void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator) in SetGlobalPoolAllocator()
60 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in TPoolAllocator
110 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()
175 void TPoolAllocator::push() in push()
198 void TPoolAllocator::pop() in pop()
234 void TPoolAllocator::popAll() in popAll()
240 void* TPoolAllocator::allocate(size_t numBytes) in allocate()
DCompiler.cpp28 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) in TScopedPoolAllocator()
41 TPoolAllocator* mAllocator;
DCompiler.h124 TPoolAllocator allocator;
/third_party/glslang/glslang/Include/
DPoolAlloc.h152 class TPoolAllocator {
154 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);
159 ~TPoolAllocator();
249 TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator in initializeAllocation()
250 TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor in initializeAllocation()
258 extern TPoolAllocator& GetThreadPoolAllocator();
259 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator);
286 pool_allocator(TPoolAllocator& a) : allocator(a) { } in pool_allocator()
312 TPoolAllocator& getAllocator() const { return allocator; } in getAllocator()
318 TPoolAllocator& allocator;
DShHandle.h59 TShHandleBase() { pool = new glslang::TPoolAllocator; } in TShHandleBase()
64 virtual glslang::TPoolAllocator* getPool() const { return pool; } in getPool()
66 glslang::TPoolAllocator* pool;
/third_party/glslang/glslang/Public/
DShaderLang.h414 class TPoolAllocator; variable
695 TPoolAllocator* pool;
964 TPoolAllocator* pool;