Searched refs:workerContext (Results 1 – 2 of 2) sorted by relevance
378 std::unique_ptr<WorkerContext> workerContext; in bindWorkerContext() local382 workerContext = std::move(*it); in bindWorkerContext()392 workerContext.reset(newContext); in bindWorkerContext()395 if (!workerContext->makeCurrent()) in bindWorkerContext()397 mWorkerContextPool.push_back(std::move(workerContext)); in bindWorkerContext()400 mCurrentWorkerContexts[threadID] = std::move(workerContext); in bindWorkerContext()
979 HGLRC workerContext = nullptr; in createWorkerContext() local984 if (workerContext) \ in createWorkerContext()986 mFunctionsWGL->deleteContext(workerContext); \ in createWorkerContext()1016 workerContext = mFunctionsWGL->createContextAttribsARB(mDeviceContext, sharedContext, in createWorkerContext()1021 workerContext = mFunctionsWGL->createContext(workerDeviceContext); in createWorkerContext()1023 if (!workerContext) in createWorkerContext()1030 if (!mUseARBShare && !mFunctionsWGL->shareLists(sharedContext, workerContext)) in createWorkerContext()1039 return new WorkerContextWGL(mFunctionsWGL, workerPbuffer, workerDeviceContext, workerContext); in createWorkerContext()