Home
last modified time | relevance | path

Searched refs:renderRate (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h97 Fps displayRefreshRate, std::optional<Fps> renderRate,
101 Fps displayRefreshRate, std::optional<Fps> renderRate,
117 std::optional<Fps> renderRate; member
132 isOptApproxEqual(renderRate, o.renderRate) && uid == o.uid &&
143 << (info.renderRate ? to_string(*info.renderRate) : "nullopt");
269 Fps displayRefreshRate, std::optional<Fps> renderRate, SetFrameRateVote,
273 std::optional<Fps> renderRate, SetFrameRateVote, GameMode) override;
296 std::optional<Fps> renderRate, SetFrameRateVote,
DTimeStats.cpp445 std::optional<Fps> renderRate, in flushAvailableRecordsToStatsLocked() argument
458 clampToNearestBucket(renderRate ? *renderRate : displayRefreshRate, in flushAvailableRecordsToStatsLocked()
717 Fps displayRefreshRate, std::optional<Fps> renderRate, in setPresentTime() argument
737 flushAvailableRecordsToStatsLocked(layerId, displayRefreshRate, renderRate, frameRateVote, in setPresentTime()
743 Fps displayRefreshRate, std::optional<Fps> renderRate, in setPresentFence() argument
764 flushAvailableRecordsToStatsLocked(layerId, displayRefreshRate, renderRate, frameRateVote, in setPresentFence()
828 clampToNearestBucket(info.renderRate ? *info.renderRate : info.refreshRate, in incrementJankyFrames()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp372 void VSyncPredictor::setRenderRate(Fps renderRate, bool applyImmediately) { in setRenderRate() argument
373 ATRACE_FORMAT("%s %s", __func__, to_string(renderRate).c_str()); in setRenderRate()
374 ALOGV("%s %s: RenderRate %s ", __func__, to_string(mId).c_str(), to_string(renderRate).c_str()); in setRenderRate()
377 mRenderRateOpt = renderRate; in setRenderRate()
379 prevRenderRate ? prevRenderRate->getPeriodNsecs() - renderRate.getPeriodNsecs() : 0; in setRenderRate()
386 mTimelines.front().setRenderRate(renderRate); in setRenderRate()
390 const bool newRenderRateIsHigher = renderPeriodDelta > renderRate.getPeriodNsecs() && in setRenderRate()
391 mLastCommittedVsync.ns() - mClock->now() > 2 * renderRate.getPeriodNsecs(); in setRenderRate()
401 mTimelines.emplace_back(mLastCommittedVsync, mIdealPeriod, renderRate); in setRenderRate()
DISchedulerCallback.h34 Fps renderRate) = 0;
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h188 void setRenderRate(Fps renderRate);
314 Fps renderRate) = 0;
395 void onSfWakeUp(int64_t token, Fps refreshRate, Fps renderRate,
483 void setSfWakeUp(int64_t token, nsecs_t wakeupTime, Fps refreshRate, Fps renderRate) override;
DFrameTimeline.cpp378 void SurfaceFrame::setRenderRate(Fps renderRate) { in setRenderRate() argument
380 mRenderRate = renderRate; in setRenderRate()
911 Fps renderRate) { in setSfWakeUp() argument
914 mCurrentDisplayFrame->onSfWakeUp(token, refreshRate, renderRate, in setSfWakeUp()
943 void FrameTimeline::DisplayFrame::onSfWakeUp(int64_t token, Fps refreshRate, Fps renderRate, in onSfWakeUp() argument
948 mRenderRate = renderRate; in onSfWakeUp()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp789 Fps renderRate = RR_30; in TEST_F() local
791 incrementJankyFrames(TimeStats::JankyFramesInfo{refreshRate, renderRate, sUidOne, in TEST_F()
810 surfaceFrame1->setRenderRate(renderRate); in TEST_F()
821 Fps renderRate = RR_30; in TEST_F() local
825 TimeStats::JankyFramesInfo{refreshRate, renderRate, sUidOne, sLayerNameOne, in TEST_F()
846 surfaceFrame1->setRenderRate(renderRate); in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp941 [this](PhysicalDisplayId displayId, Fps vsyncRate, Fps renderRate) { in init() argument
947 display->updateRefreshRateOverlayRate(vsyncRate, renderRate); in init()
1326 const Fps renderRate = selectorPtr->getActiveMode().fps; in setDesiredMode() local
1329 mScheduler->setRenderRate(displayId, renderRate, true /* applyImmediately */); in setDesiredMode()
2304 const auto renderRate = mDisplayModeController.getActiveMode(*displayIdOpt).fps; in onRefreshRateChangedDebug()
2306 display->updateRefreshRateOverlayRate(refreshRate, renderRate, kSetByHwc); in onRefreshRateChangedDebug()
4336 Fps renderRate) { in onExpectedPresentTimePosted() argument
4349 expectedPresentTime, renderRate, timeoutOpt); in onExpectedPresentTimePosted()
DLayer.cpp4097 const std::optional<Fps> renderRate = in onCompositionPresented() local
4105 refreshRate, renderRate, vote, gameMode); in onCompositionPresented()
4121 refreshRate, renderRate, vote, gameMode); in onCompositionPresented()
DSurfaceFlinger.h703 Fps renderRate) override;