Home
last modified time | relevance | path

Searched refs:VsyncConfigSet (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncConfiguration.h41 virtual VsyncConfigSet getCurrentConfigs() const = 0;
42 virtual VsyncConfigSet getConfigsForRefreshRate(Fps fps) const = 0;
61 VsyncConfigSet getConfigsForRefreshRate(Fps fps) const override EXCLUDES(mLock);
64 VsyncConfigSet getCurrentConfigs() const override EXCLUDES(mLock) { in getCurrentConfigs()
86 virtual VsyncConfigSet constructOffsets(nsecs_t vsyncDuration) const = 0;
88 VsyncConfigSet getConfigsForRefreshRateLocked(Fps fps) const REQUIRES(mLock);
90 mutable ftl::SmallMap<Fps, VsyncConfigSet, 2, FpsApproxEqual> mOffsetsCache GUARDED_BY(mLock);
116 VsyncConfigSet constructOffsets(nsecs_t vsyncDuration) const override;
118 VsyncConfigSet getDefaultOffsets(nsecs_t vsyncPeriod) const;
119 VsyncConfigSet getHighFpsOffsets(nsecs_t vsyncPeriod) const;
[all …]
DVsyncModulator.h54 explicit VsyncModulator(const VsyncConfigSet&, Now = Clock::now);
62 [[nodiscard]] VsyncConfig setVsyncConfigSet(const VsyncConfigSet&) EXCLUDES(mMutex);
92 VsyncConfigSet mVsyncConfigSet GUARDED_BY(mMutex);
DVsyncConfiguration.cpp45 VsyncConfigSet VsyncConfiguration::getConfigsForRefreshRate(Fps fps) const { in getConfigsForRefreshRate()
50 VsyncConfigSet VsyncConfiguration::getConfigsForRefreshRateLocked(Fps fps) const { in getConfigsForRefreshRateLocked()
137 VsyncConfigSet PhaseOffsets::constructOffsets(nsecs_t vsyncDuration) const { in constructOffsets()
161 VsyncConfigSet PhaseOffsets::getDefaultOffsets(nsecs_t vsyncDuration) const { in getDefaultOffsets()
199 VsyncConfigSet PhaseOffsets::getHighFpsOffsets(nsecs_t vsyncDuration) const { in getHighFpsOffsets()
289 VsyncConfigSet WorkDuration::constructOffsets(nsecs_t vsyncDuration) const { in constructOffsets()
DVsyncModulator.cpp38 VsyncModulator::VsyncModulator(const VsyncConfigSet& config, Now now) in VsyncModulator()
43 VsyncConfig VsyncModulator::setVsyncConfigSet(const VsyncConfigSet& config) { in setVsyncConfigSet()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DVsyncConfig.h46 struct VsyncConfigSet { struct
52 bool operator==(const VsyncConfigSet& other) const { argument
57 bool operator!=(const VsyncConfigSet& other) const { return !(*this == other); }
/frameworks/native/services/surfaceflinger/tests/unittests/
DFakeVsyncConfiguration.h29 VsyncConfigSet getConfigsForRefreshRate(Fps) const override { return getCurrentConfigs(); } in getConfigsForRefreshRate()
31 VsyncConfigSet getCurrentConfigs() const override { in getCurrentConfigs()
DVsyncModulatorTest.cpp27 TestableVsyncModulator(const VsyncConfigSet& config, Now now) : VsyncModulator(config, now) {} in TestableVsyncModulator()
67 const VsyncConfigSet mOffsets = {kEarly, kEarlyGpu, kLate, nanos(HWC_MIN_WORK_DURATION)};