Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DEGL.cpp211 std::unique_lock<std::mutex> lock(mFenceWaiterLock); in FenceWaiter()
221 std::lock_guard<std::mutex> lock(mFenceWaiterLock); in ~FenceWaiter()
229 std::lock_guard<std::mutex> lock(mFenceWaiterLock); in waitForIdle()
230 mFenceWaiterCondition.wait(mFenceWaiterLock, [this]() REQUIRES(mFenceWaiterLock) { in waitForIdle()
236 std::lock_guard<std::mutex> lock(mFenceWaiterLock); in onFenceCreation()
244 std::lock_guard<std::mutex> lock(mFenceWaiterLock); in threadMain()
247 mFenceWaiterCondition.wait(mFenceWaiterLock, in threadMain()
248 [this]() REQUIRES(mFenceWaiterLock) { in threadMain()
DEGL.h107 std::thread mFenceWaiter GUARDED_BY(mFenceWaiterLock);
108 std::mutex mFenceWaiterLock; variable
110 bool mFenceWaiterRunning GUARDED_BY(mFenceWaiterLock) = true;
111 bool mFenceWaiterPending GUARDED_BY(mFenceWaiterLock) = false;
113 EGLDisplay mDisplay GUARDED_BY(mFenceWaiterLock);
114 EGLSyncKHR mSyncFence GUARDED_BY(mFenceWaiterLock) = EGL_NO_SYNC_KHR;