Home
last modified time | relevance | path

Searched refs:VsyncConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DVsyncConfig.h28 struct VsyncConfig { struct
34 bool operator==(const VsyncConfig& other) const { argument
39 bool operator!=(const VsyncConfig& other) const { return !(*this == other); }
47 VsyncConfig early; // Used for early transactions, and during refresh rate change. argument
48 VsyncConfig earlyGpu; // Used during GPU composition.
49 VsyncConfig late; // Default.
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncModulator.h48 using VsyncConfigOpt = std::optional<VsyncConfig>;
58 VsyncConfig getVsyncConfig() const EXCLUDES(mMutex);
62 [[nodiscard]] VsyncConfig setVsyncConfigSet(const VsyncConfigSet&) EXCLUDES(mMutex);
87 const VsyncConfig& getNextVsyncConfig() const REQUIRES(mMutex);
88 [[nodiscard]] VsyncConfig updateVsyncConfig() EXCLUDES(mMutex);
89 [[nodiscard]] VsyncConfig updateVsyncConfigLocked() REQUIRES(mMutex);
94 VsyncConfig mVsyncConfig GUARDED_BY(mMutex){mVsyncConfigSet.late}; in GUARDED_BY()
DVsyncModulator.cpp43 VsyncConfig VsyncModulator::setVsyncConfigSet(const VsyncConfigSet& config) { in setVsyncConfigSet()
132 VsyncConfig VsyncModulator::getVsyncConfig() const { in getVsyncConfig()
150 const VsyncConfig& VsyncModulator::getNextVsyncConfig() const { in getNextVsyncConfig()
161 VsyncConfig VsyncModulator::updateVsyncConfig() { in updateVsyncConfig()
166 VsyncConfig VsyncModulator::updateVsyncConfigLocked() { in updateVsyncConfigLocked()
167 const VsyncConfig& offsets = getNextVsyncConfig(); in updateVsyncConfigLocked()
DEventThread.cpp661 scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count()) { in generateFrameTimeline()
669 scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count())); in generateFrameTimeline()
689 static_cast<int64_t>(scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count())); in generateFrameTimeline()
DScheduler.h177 typename Handler = std::optional<VsyncConfig> (VsyncModulator::*)(Args...)>
378 void setVsyncConfig(const VsyncConfig&, Period vsyncPeriod);
DScheduler.cpp498 void Scheduler::setVsyncConfig(const VsyncConfig& config, Period vsyncPeriod) { in setVsyncConfig()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncModulatorTest.cpp60 const VsyncConfig kEarly{SF_OFFSET_EARLY, APP_OFFSET_EARLY, nanos(SF_DURATION_LATE),
62 const VsyncConfig kEarlyGpu{SF_OFFSET_EARLY_GPU, APP_OFFSET_EARLY_GPU, nanos(SF_DURATION_EARLY),
64 const VsyncConfig kLate{SF_OFFSET_LATE, APP_OFFSET_LATE, nanos(SF_DURATION_EARLY_GPU),
DEventThreadTest.cpp326 scheduler::VsyncConfig::kEarlyLatchMaxThreshold / mVsyncPeriod; in expectVsyncEventDataFrameTimelinesValidLength()
464 mVsyncPeriod = (scheduler::VsyncConfig::kEarlyLatchMaxThreshold / in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5137 scheduler::VsyncConfig::kEarlyLatchMaxThreshold) { in frameIsEarly()