Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DFenceResult.h37 inline status_t fenceStatus(const FenceResult& fenceResult) { in fenceStatus() argument
38 return fenceResult.ok() ? NO_ERROR : fenceResult.error(); in fenceStatus()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp350 if (const auto fenceResult = in captureSample() local
354 fenceResult.ok()) { in captureSample()
355 fenceResult.value()->waitForever(LOG_TAG); in captureSample()
DSurfaceFlinger.cpp6710 auto fenceResult = renderFuture.get(); in captureScreenCommon() local
6712 captureResults.result = fenceStatus(fenceResult); in captureScreenCommon()
6713 captureResults.fence = std::move(fenceResult).value_or(Fence::NO_FENCE); in captureScreenCommon()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp279 auto fenceResult = in render() local
285 if (fenceStatus(fenceResult) == NO_ERROR) { in render()
286 mDrawFence = std::move(fenceResult).value_or(Fence::NO_FENCE); in render()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp251 const auto fenceResult = future.get(); in captureScreenComposition() local
253 EXPECT_EQ(NO_ERROR, fenceStatus(fenceResult)); in captureScreenComposition()
254 if (fenceResult.ok()) { in captureScreenComposition()
255 fenceResult.value()->waitForever(LOG_TAG); in captureScreenComposition()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp1287 auto fenceResult = in composeSurfaces() local
1293 if (mClientCompositionRequestCache && fenceStatus(fenceResult) != NO_ERROR) { in composeSurfaces()
1298 const auto fence = std::move(fenceResult).value_or(Fence::NO_FENCE); in composeSurfaces()