Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1e7e80e authored by Vadim Caen's avatar Vadim Caen Committed by Gerrit Code Review
Browse files

Merge "Fix render thread early termination" into android15-tests-dev

parents 4b93de7e 1a43965a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -216,8 +216,8 @@ class VirtualCameraRenderThread {
  std::mutex mLock;
  std::deque<std::unique_ptr<ProcessCaptureRequestTask>> mQueue GUARDED_BY(mLock);
  std::condition_variable mCondVar;
  volatile bool mTextureUpdateRequested GUARDED_BY(mLock);
  volatile bool mPendingExit GUARDED_BY(mLock);
  volatile bool GUARDED_BY(mLock) mTextureUpdateRequested = false;
  volatile bool GUARDED_BY(mLock) mPendingExit = false;

  // Acquisition timestamp of last frame.
  std::atomic<uint64_t> mLastAcquisitionTimestampNanoseconds;