summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2022-08-17 18:55:34 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-08-17 18:55:34 +0000
commit8ef72b10999b65d1b031dee1a7a91e1e7eb6a15f (patch)
treeaa1a4bfa8a99daa8fc455940fa3a12a801258836
parenta62797e49af1ffcab35d86930ef988261cc30334 (diff)
parenta2ad1dc898f4946c86a965cb079072c001caaaf6 (diff)
Merge "Add better comments for new adpf cpu multi-display patch"
-rw-r--r--services/surfaceflinger/DisplayHardware/PowerAdvisor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
index 859cf3d369..c4a35e0af2 100644
--- a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
+++ b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
@@ -251,11 +251,11 @@ private:
RingBuffer<nsecs_t, 2> mCommitStartTimes;
// Buffer of recent expected present times
RingBuffer<nsecs_t, 2> mExpectedPresentTimes;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent present fence time, provided by SF after composition engine finishes presenting
nsecs_t mLastPresentFenceTime = -1;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent composition engine present end time, returned with the present fence from SF
nsecs_t mLastSfPresentEndTime = -1;
- // Target for the entire pipeline including gpu
+ // Target duration for the entire pipeline including gpu
std::optional<nsecs_t> mTotalFrameTargetDuration;
// Updated list of display IDs
std::vector<DisplayId> mDisplayIds;