Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/gl/
DRendererGL.cpp378 std::unique_ptr<WorkerContext> workerContext; in bindWorkerContext() local
382 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()
/external/angle/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp979 HGLRC workerContext = nullptr; in createWorkerContext() local
984 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()