diff options
author | 2025-02-21 16:45:34 -0800 | |
---|---|---|
committer | 2025-02-21 16:45:34 -0800 | |
commit | d25752e53d372b1c801020637a37d347f3c7b3f4 (patch) | |
tree | 898a63ba9483f6da710a7183a93c8c9653b2a6de | |
parent | 8e81106cf67bb1705a232f278170626986b731e5 (diff) | |
parent | 32446b8a119ab4c172685f026f66b16105d3296c (diff) |
Merge "Fix full draw power usage increase issue" into main
-rw-r--r-- | libs/hwui/renderthread/CanvasContext.h | 2 |
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; |