Searched refs:workerId (Results 1 – 2 of 2) sorted by relevance
/hardware/google/gfxstream/host/ |
D | SyncThread.cpp | 172 .mTask = std::packaged_task<int(WorkerId)>([this](WorkerId workerId) { in initSyncEGLContext() 173 DPRINT("for worker id: %d", workerId); in initSyncEGLContext() 207 mSurface[workerId] = egl->eglCreatePbufferSurface(mDisplay, config, pbufferAttribs); in initSyncEGLContext() 210 mContext[workerId] = in initSyncEGLContext() 213 egl->eglMakeCurrent(mDisplay, mSurface[workerId], mSurface[workerId], in initSyncEGLContext() 214 mContext[workerId]); in initSyncEGLContext() 357 [this](WorkerId workerId) { in cleanup() argument 364 egl->eglDestroyContext(mDisplay, mContext[workerId]); in cleanup() 365 egl->eglDestroySurface(mDisplay, mSurface[workerId]); in cleanup() 366 mContext[workerId] = EGL_NO_CONTEXT; in cleanup() [all …]
|
/hardware/google/aemu/base/include/aemu/base/threads/ |
D | ThreadPool.h | 79 Command(Item&& item, WorkerId workerId) : mItem(std::move(item)), mWorkerId(workerId) {} in Command()
|