Searched defs:presentFence (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/TimeStats/
H A DTimeStats.h52 std::shared_ptr<FenceTime> presentFence; member in struct:android::TimeStats::TimeRecord
79 const std::shared_ptr<FenceTime>& presentFence);
H A DTimeStats.cpp111 ALOGV("[%s]-[%" PRIu64 "]-presentFence is still not received", layerName.c_str(),
129 if (timeRecord->presentFence != nullptr) {
130 if (timeRecord->presentFence->getSignalTime() == Fence::SIGNAL_TIME_PENDING) {
133 if (timeRecord->presentFence->getSignalTime() != Fence::SIGNAL_TIME_INVALID) {
134 timeRecord->presentTime = timeRecord->presentFence->getSignalTime();
135 timeRecord->presentFence = nullptr;
137 ALOGV("[%s]-[%" PRIu64 "]-presentFence signal time invalid", layerName.c_str(),
359 const std::shared_ptr<FenceTime>& presentFence) {
364 presentFence->getSignalTime());
371 timeRecord.presentFence
358 setPresentFence(const std::string& layerName, uint64_t frameNumber, const std::shared_ptr<FenceTime>& presentFence) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.h250 int presentFence = -1; member in struct:android::Hwc2::impl::CommandReader::ReturnData
/frameworks/native/services/surfaceflinger/
H A DBufferLayer.cpp302 const std::shared_ptr<FenceTime>& presentFence,
312 presentFence, compositorTiming);
331 if (presentFence->isValid()) {
332 mTimeStats.setPresentFence(layerName, mCurrentFrameNumber, presentFence);
333 mFrameTracker.setActualPresentFence(std::shared_ptr<FenceTime>(presentFence));
301 onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence, const std::shared_ptr<FenceTime>& presentFence, const CompositorTiming& compositorTiming) argument
H A DSurfaceFlinger.cpp1731 sp<Fence> presentFence = getBE().mHwc->getPresentFence(HWC_DISPLAY_PRIMARY); local
1732 auto presentFenceTime = std::make_shared<FenceTime>(presentFence);
2142 sp<Fence> presentFence = getBE().mHwc->getPresentFence(hwcId); local
2144 layer->onLayerDisplayed(presentFence);
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp1597 void closeFences(hwc2_display_t display, int32_t presentFence) argument
1603 if (presentFence >= 0) {
1604 ASSERT_GE(sync_wait(presentFence, msWait), 0);
1605 close(presentFence);
1742 int32_t presentFence; local
1767 &presentFence));
1769 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence));
1833 int32_t presentFence; local
1867 &presentFence));
1868 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence));
4207 int32_t presentFence; local
[all...]

Completed in 94 milliseconds