Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DFenceResult.h34 using FenceResult = base::expected<sp<Fence>, status_t>; variable
37 inline status_t fenceStatus(const FenceResult& fenceResult) { in fenceStatus()
41 inline FenceResult toFenceResult(renderengine::RenderEngineResult&& result) { in toFenceResult()
DLayerFE.h160 virtual void onLayerDisplayed(ftl::SharedFuture<FenceResult>) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DLayerFE.h52 MOCK_METHOD(void, onLayerDisplayed, (ftl::SharedFuture<FenceResult>), (override));
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_layer_fuzzer.cpp122 layer->onLayerDisplayed(ftl::yield<FenceResult>(fence).share()); in invokeBufferStateLayer()
124 ftl::yield<FenceResult>(base::unexpected(mFdp.ConsumeIntegral<status_t>())).share()); in invokeBufferStateLayer()
/frameworks/native/services/surfaceflinger/
DTransactionCallbackInvoker.h48 std::vector<ftl::SharedFuture<FenceResult>> previousReleaseFences;
DBufferQueueLayer.h45 void onLayerDisplayed(ftl::SharedFuture<FenceResult>) override;
DBufferStateLayer.h42 void onLayerDisplayed(ftl::SharedFuture<FenceResult>) override;
DSurfaceFlinger.h871 ftl::SharedFuture<FenceResult> captureScreenCommon(RenderAreaFuture, TraverseLayersFunction,
875 ftl::SharedFuture<FenceResult> captureScreenCommon(
879 ftl::SharedFuture<FenceResult> renderScreenImpl(
DBufferQueueLayer.cpp51 void BufferQueueLayer::onLayerDisplayed(ftl::SharedFuture<FenceResult> futureFenceResult) { in onLayerDisplayed()
DSurfaceFlinger.cpp6620 ftl::SharedFuture<FenceResult> SurfaceFlinger::captureScreenCommon( in captureScreenCommon()
6630 return ftl::yield<FenceResult>(base::unexpected(BAD_VALUE)).share(); in captureScreenCommon()
6667 return ftl::yield<FenceResult>(base::unexpected(bufferStatus)).share(); in captureScreenCommon()
6677 ftl::SharedFuture<FenceResult> SurfaceFlinger::captureScreenCommon( in captureScreenCommon()
6686 -> ftl::SharedFuture<FenceResult> { in captureScreenCommon()
6695 return ftl::yield<FenceResult>(base::unexpected(NO_ERROR)).share(); in captureScreenCommon()
6698 ftl::SharedFuture<FenceResult> renderFuture; in captureScreenCommon()
6721 return ftl::yield<FenceResult>(base::unexpected(NO_ERROR)).share(); in captureScreenCommon()
6725 auto chain = ftl::Future(std::move(future)).then([](ftl::SharedFuture<FenceResult> future) { in captureScreenCommon()
6732 ftl::SharedFuture<FenceResult> SurfaceFlinger::renderScreenImpl( in renderScreenImpl()
[all …]
DLayer.h620 void onLayerDisplayed(ftl::SharedFuture<FenceResult>) override;
DBufferStateLayer.cpp78 void BufferStateLayer::onLayerDisplayed(ftl::SharedFuture<FenceResult> futureFenceResult) { in onLayerDisplayed()
DLayer.cpp215 void Layer::onLayerDisplayed(ftl::SharedFuture<FenceResult>) {} in onLayerDisplayed() argument
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp3262 .WillOnce([&layer1Fence](ftl::SharedFuture<FenceResult> futureFenceResult) { in TEST_F()
3263 EXPECT_EQ(FenceResult(layer1Fence), futureFenceResult.get()); in TEST_F()
3266 .WillOnce([&layer2Fence](ftl::SharedFuture<FenceResult> futureFenceResult) { in TEST_F()
3267 EXPECT_EQ(FenceResult(layer2Fence), futureFenceResult.get()); in TEST_F()
3270 .WillOnce([&layer3Fence](ftl::SharedFuture<FenceResult> futureFenceResult) { in TEST_F()
3271 EXPECT_EQ(FenceResult(layer3Fence), futureFenceResult.get()); in TEST_F()
3329 .WillOnce([&presentFence](ftl::SharedFuture<FenceResult> futureFenceResult) { in TEST_F()
3330 EXPECT_EQ(FenceResult(presentFence), futureFenceResult.get()); in TEST_F()
3333 .WillOnce([&presentFence](ftl::SharedFuture<FenceResult> futureFenceResult) { in TEST_F()
3334 EXPECT_EQ(FenceResult(presentFence), futureFenceResult.get()); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp1479 ftl::yield<FenceResult>(std::move(releaseFence)).share()); in postFramebuffer()
1487 layer->onLayerDisplayed(ftl::yield<FenceResult>(frame.presentFence).share()); in postFramebuffer()