Searched refs:VsyncConfigSet (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VsyncConfiguration.h | 41 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 …]
|
D | VsyncModulator.h | 54 explicit VsyncModulator(const VsyncConfigSet&, Now = Clock::now); 62 [[nodiscard]] VsyncConfig setVsyncConfigSet(const VsyncConfigSet&) EXCLUDES(mMutex); 92 VsyncConfigSet mVsyncConfigSet GUARDED_BY(mMutex);
|
D | VsyncConfiguration.cpp | 45 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()
|
D | VsyncModulator.cpp | 38 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/ |
D | VsyncConfig.h | 46 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/ |
D | FakeVsyncConfiguration.h | 29 VsyncConfigSet getConfigsForRefreshRate(Fps) const override { return getCurrentConfigs(); } in getConfigsForRefreshRate() 31 VsyncConfigSet getCurrentConfigs() const override { in getCurrentConfigs()
|
D | VsyncModulatorTest.cpp | 27 TestableVsyncModulator(const VsyncConfigSet& config, Now now) : VsyncModulator(config, now) {} in TestableVsyncModulator() 67 const VsyncConfigSet mOffsets = {kEarly, kEarlyGpu, kLate, nanos(HWC_MIN_WORK_DURATION)};
|