Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp129 if (timeRecord->presentFence != nullptr) { in recordReadyLocked()
130 if (timeRecord->presentFence->getSignalTime() == Fence::SIGNAL_TIME_PENDING) { in recordReadyLocked()
133 if (timeRecord->presentFence->getSignalTime() != Fence::SIGNAL_TIME_INVALID) { in recordReadyLocked()
134 timeRecord->presentTime = timeRecord->presentFence->getSignalTime(); in recordReadyLocked()
135 timeRecord->presentFence = nullptr; in recordReadyLocked()
359 const std::shared_ptr<FenceTime>& presentFence) { in setPresentFence() argument
364 presentFence->getSignalTime()); in setPresentFence()
371 timeRecord.presentFence = presentFence; in setPresentFence()
DTimeStats.h52 std::shared_ptr<FenceTime> presentFence; member
79 const std::shared_ptr<FenceTime>& presentFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp1098 if (mCurrentReturnData->presentFence >= 0) { in parseSetPresentFence()
1099 close(mCurrentReturnData->presentFence); in parseSetPresentFence()
1101 mCurrentReturnData->presentFence = readFence(); in parseSetPresentFence()
1143 if (data.second.presentFence >= 0) { in resetData()
1144 close(data.second.presentFence); in resetData()
1243 *outPresentFence = data.presentFence; in takePresentFence()
1244 data.presentFence = -1; in takePresentFence()
DComposerHal.h250 int presentFence = -1; member
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp302 const std::shared_ptr<FenceTime>& presentFence, in onPostComposition() argument
312 presentFence, compositorTiming); in onPostComposition()
331 if (presentFence->isValid()) { in onPostComposition()
332 mTimeStats.setPresentFence(layerName, mCurrentFrameNumber, presentFence); in onPostComposition()
333 mFrameTracker.setActualPresentFence(std::shared_ptr<FenceTime>(presentFence)); in onPostComposition()
DBufferLayer.h111 const std::shared_ptr<FenceTime>& presentFence,
DSurfaceFlinger.cpp1731 sp<Fence> presentFence = getBE().mHwc->getPresentFence(HWC_DISPLAY_PRIMARY); in postComposition() local
1732 auto presentFenceTime = std::make_shared<FenceTime>(presentFence); in postComposition()
2142 sp<Fence> presentFence = getBE().mHwc->getPresentFence(hwcId); in postFramebuffer() local
2144 layer->onLayerDisplayed(presentFence); in postFramebuffer()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp1597 void closeFences(hwc2_display_t display, int32_t presentFence) in closeFences() argument
1603 if (presentFence >= 0) { in closeFences()
1604 ASSERT_GE(sync_wait(presentFence, msWait), 0); in closeFences()
1605 close(presentFence); in closeFences()
1742 int32_t presentFence; in presentDisplays() local
1767 &presentFence)); in presentDisplays()
1769 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence)); in presentDisplays()
1833 int32_t presentFence; in createAndPresentVirtualDisplay() local
1867 &presentFence)); in createAndPresentVirtualDisplay()
1868 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence)); in createAndPresentVirtualDisplay()
[all …]