summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-10-18 14:59:14 -0700
committer Vishnu Nair <vishnun@google.com> 2022-10-19 15:57:23 -0700
commit22491b8da91f46db499208f80b5eea5423db330c (patch)
tree5188232b5d3b132478198c7e3179cd7b7b3255ff /libs/gui/BufferQueueThreadState.cpp
parent666a7bf602218e8c33b72ab7c318350c43515c2f (diff)
SF: Fix onSurfaceFrameCreated for layers without buffers
Previously we did not create surfaceframes for layers without buffers. This behavior regressed with flattening of the layer types and causes some jank classifications to be eviceted from mPendingJankClassifications list which has a max value of 25. Fix this by checking if the layer has a buffer and also while we are here, increase the max to 50 in anticipation of multiple displays and multiple layers. Test: presubmit, logcat for no logspam Bug: 253555650 Change-Id: I0be3d7706305e059074b9efc14428316bdb41e6d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions