summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-21 16:45:34 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-21 16:45:34 -0800
commitd25752e53d372b1c801020637a37d347f3c7b3f4 (patch)
tree898a63ba9483f6da710a7183a93c8c9653b2a6de
parent8e81106cf67bb1705a232f278170626986b731e5 (diff)
parent32446b8a119ab4c172685f026f66b16105d3296c (diff)
Merge "Fix full draw power usage increase issue" into main
-rw-r--r--libs/hwui/renderthread/CanvasContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h
index cb3753822035..c31d0be74cb6 100644
--- a/libs/hwui/renderthread/CanvasContext.h
+++ b/libs/hwui/renderthread/CanvasContext.h
@@ -312,7 +312,7 @@ private:
};
// Need at least 4 because we do quad buffer. Add a few more for good measure.
- RingBuffer<SwapHistory, 7> mSwapHistory;
+ RingBuffer<SwapHistory, 8> mSwapHistory;
// Frame numbers start at 1, 0 means uninitialized
uint64_t mFrameNumber = 0;
int64_t mDamageId = 0;