Home
last modified time | relevance | path

Searched refs:Offsets (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DPhaseOffsets.h34 using Offsets = VSyncModulator::OffsetsConfig;
38 virtual Offsets getCurrentOffsets() const = 0;
39 virtual Offsets getOffsetsForRefreshRate(float fps) const = 0;
57 Offsets getOffsetsForRefreshRate(float fps) const override;
60 Offsets getCurrentOffsets() const override { return getOffsetsForRefreshRate(mRefreshRateFps); } in getCurrentOffsets()
76 std::unordered_map<float, Offsets> initializeOffsets(
78 Offsets getDefaultOffsets(nsecs_t vsyncPeriod) const;
79 Offsets getHighFpsOffsets(nsecs_t vsyncPeriod) const;
80 Offsets getPhaseOffsets(float fps, nsecs_t vsyncPeriod) const;
89 const std::unordered_map<float, Offsets> mOffsets;
[all …]
DVSyncModulator.h47 struct Offsets { struct
51 bool operator==(const Offsets& other) const { return sf == other.sf && app == other.app; } argument
53 bool operator!=(const Offsets& other) const { return !(*this == other); }
57 Offsets early; // For transactions with the eEarlyWakeup flag.
58 Offsets earlyGl; // As above but while compositing with GL.
59 Offsets late; // Default.
94 Offsets getOffsets() const EXCLUDES(mMutex);
99 const Offsets& getNextOffsets() const REQUIRES(mMutex);
111 Offsets mOffsets GUARDED_BY(mMutex){mOffsetsConfig.late}; in GUARDED_BY()
DPhaseOffsets.cpp105 std::unordered_map<float, PhaseOffsets::Offsets> PhaseOffsets::initializeOffsets( in initializeOffsets()
107 std::unordered_map<float, Offsets> offsets; in initializeOffsets()
116 PhaseOffsets::Offsets PhaseOffsets::getPhaseOffsets(float fps, nsecs_t vsyncPeriod) const { in getPhaseOffsets()
124 PhaseOffsets::Offsets PhaseOffsets::getDefaultOffsets(nsecs_t vsyncDuration) const { in getDefaultOffsets()
150 PhaseOffsets::Offsets PhaseOffsets::getHighFpsOffsets(nsecs_t vsyncDuration) const { in getHighFpsOffsets()
190 PhaseOffsets::Offsets PhaseOffsets::getOffsetsForRefreshRate(float fps) const { in getOffsetsForRefreshRate()
192 [&fps](const std::pair<float, Offsets>& candidateFps) { in getOffsetsForRefreshRate()
248 PhaseDurations::Offsets PhaseDurations::constructOffsets(nsecs_t vsyncDuration) const { in constructOffsets()
249 return Offsets{ in constructOffsets()
274 std::unordered_map<float, PhaseDurations::Offsets> PhaseDurations::initializeOffsets( in initializeOffsets()
[all …]
DVSyncModulator.cpp136 VSyncModulator::Offsets VSyncModulator::getOffsets() const { in getOffsets()
141 const VSyncModulator::Offsets& VSyncModulator::getNextOffsets() const { in getNextOffsets()
160 const Offsets& offsets = getNextOffsets(); in updateOffsetsLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFakePhaseOffsets.h28 Offsets getOffsetsForRefreshRate(float) const override { return getCurrentOffsets(); } in getOffsetsForRefreshRate()
30 Offsets getCurrentOffsets() const override { in getCurrentOffsets()
/frameworks/minikin/doc/
Dhyb_file_format.md58 Offsets are from the front of the file, and in bytes.