diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h index 0caf76a265390..951ee216ce355 100644 --- a/libs/hwui/renderthread/CanvasContext.h +++ b/libs/hwui/renderthread/CanvasContext.h @@ -279,8 +279,8 @@ private: nsecs_t queueDuration; }; - // Need at least 4 because we do quad buffer. Add a 5th for good measure. - RingBuffer mSwapHistory; + // Need at least 4 because we do quad buffer. Add a few more for good measure. + RingBuffer mSwapHistory; // Frame numbers start at 1, 0 means uninitialized uint64_t mFrameNumber = 0; int64_t mDamageId = 0;