Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/
DFrameBuffer.cpp892 class ScopedPromise { in setupSubWindow() class
894 ~ScopedPromise() { mPromise.set_value(); } in setupSubWindow()
896 DISALLOW_COPY_ASSIGN_AND_MOVE(ScopedPromise); in setupSubWindow()
897 static std::tuple<std::unique_ptr<ScopedPromise>, std::future<void>> create() { in setupSubWindow()
898 auto scopedPromise = std::unique_ptr<ScopedPromise>(new ScopedPromise()); in setupSubWindow()
904 ScopedPromise() = default; in setupSubWindow()
907 std::unique_ptr<ScopedPromise> postWorkerContinueSignal; in setupSubWindow()
909 std::tie(postWorkerContinueSignal, postWorkerContinueSignalFuture) = ScopedPromise::create(); in setupSubWindow()