Searched refs:VsyncConfig (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | VsyncConfig.h | 28 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/ |
D | VsyncModulator.h | 48 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()
|
D | VsyncModulator.cpp | 43 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()
|
D | EventThread.cpp | 661 scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count()) { in generateFrameTimeline() 669 scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count())); in generateFrameTimeline() 689 static_cast<int64_t>(scheduler::VsyncConfig::kEarlyLatchMaxThreshold.count())); in generateFrameTimeline()
|
D | Scheduler.h | 177 typename Handler = std::optional<VsyncConfig> (VsyncModulator::*)(Args...)> 378 void setVsyncConfig(const VsyncConfig&, Period vsyncPeriod);
|
D | Scheduler.cpp | 498 void Scheduler::setVsyncConfig(const VsyncConfig& config, Period vsyncPeriod) { in setVsyncConfig()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VsyncModulatorTest.cpp | 60 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),
|
D | EventThreadTest.cpp | 326 scheduler::VsyncConfig::kEarlyLatchMaxThreshold / mVsyncPeriod; in expectVsyncEventDataFrameTimelinesValidLength() 464 mVsyncPeriod = (scheduler::VsyncConfig::kEarlyLatchMaxThreshold / in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 5137 scheduler::VsyncConfig::kEarlyLatchMaxThreshold) { in frameIsEarly()
|