Searched refs:presentFence (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 129 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()
|
D | TimeStats.h | 52 std::shared_ptr<FenceTime> presentFence; member 79 const std::shared_ptr<FenceTime>& presentFence);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.cpp | 1098 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()
|
D | ComposerHal.h | 250 int presentFence = -1; member
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 302 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()
|
D | BufferLayer.h | 111 const std::shared_ptr<FenceTime>& presentFence,
|
D | SurfaceFlinger.cpp | 1731 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/ |
D | Hwc2Test.cpp | 1597 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 …]
|