Searched refs:presentLatency (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | CompositorTiming_test.cpp | 39 EXPECT_EQ(timing.presentLatency, gui::CompositorTiming::kDefaultVsyncPeriod); in TEST() 45 const nsecs_t presentLatency = kIdealLatency + presentDelay; in TEST() local 46 const nsecs_t vsyncDeadline = compositeTime + presentLatency + kVsyncPeriod; in TEST() 49 presentLatency); in TEST() 56 EXPECT_GE(timing.presentLatency, kIdealLatency); in TEST() 57 EXPECT_EQ(timing.presentLatency % timing.interval, kIdealLatency); in TEST()
|
D | Surface_test.cpp | 1084 nsecs_t presentLatency = 50'000'000) { in makeCompositorTiming() argument 1088 timing.presentLatency = presentLatency; in makeCompositorTiming() 1394 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F() 1531 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F() 1544 EXPECT_EQ(initialCompositorTiming.presentLatency, in TEST_F() 1559 EXPECT_EQ(mFrames[0].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F() 1574 EXPECT_EQ(mFrames[1].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F() 1590 EXPECT_EQ(mFrames[2].mRefreshes[1].kCompositorTiming.presentLatency, in TEST_F()
|
/frameworks/native/libs/gui/ |
D | CompositorTiming.cpp | 26 nsecs_t presentLatency) { in CompositorTiming() argument 45 const nsecs_t extraVsyncs = (presentLatency - idealLatency + bias) / vsyncPeriod; in CompositorTiming() 51 this->presentLatency = snappedLatency; in CompositorTiming()
|
D | ITransactionCompletedListener.cpp | 77 err = output->writeInt64(compositorTiming.presentLatency); in writeToParcel() 112 err = input->readInt64(&(compositorTiming.presentLatency)); in readFromParcel()
|
/frameworks/native/services/surfaceflinger/Scheduler/src/ |
D | PresentLatencyTracker.cpp | 27 Duration presentLatency = Duration::zero(); in trackPendingFrame() local 40 presentLatency = presentTime - pendingFrame.compositeTime; in trackPendingFrame() 53 return presentLatency; in trackPendingFrame()
|
/frameworks/native/libs/gui/include/gui/ |
D | CompositorTiming.h | 29 nsecs_t presentLatency); 40 nsecs_t presentLatency = kDefaultVsyncPeriod; member
|
D | FrameTimestamps.h | 124 return mCompositorTiming.presentLatency; in getCompositeToPresentLatency()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 560 std::chrono::nanoseconds presentLatency) const { in calculateMaxAcquiredBufferCount() argument 561 return SurfaceFlinger::calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in calculateMaxAcquiredBufferCount()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3154 const Duration presentLatency = mHasReliablePresentFences in onCompositionPresented() local 3165 presentLatency.ns()); in onCompositionPresented() 9012 std::chrono::nanoseconds presentLatency) { in calculateMaxAcquiredBufferCount() argument 9013 auto pipelineDepth = presentLatency.count() / refreshRate.getPeriodNsecs(); in calculateMaxAcquiredBufferCount() 9014 if (presentLatency.count() % refreshRate.getPeriodNsecs()) { in calculateMaxAcquiredBufferCount() 9050 const auto presentLatency = vsyncConfig.appWorkDuration + vsyncConfig.sfWorkDuration; in getMaxAcquiredBufferCountForRefreshRate() local 9051 return calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in getMaxAcquiredBufferCountForRefreshRate()
|
D | SurfaceFlinger.h | 1225 std::chrono::nanoseconds presentLatency);
|