summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-05-18 13:57:02 -0700
committer Ady Abraham <adyabr@google.com> 2021-06-17 14:31:02 -0700
commit0bde6b5a9837ab96484c988bb3f148d0b9b3ab4e (patch)
tree6d3bf4cefcd3e2051eed6e126f4cac569703404a /libs/gui/SurfaceComposerClient.cpp
parent603a15d295579ea583fbad2cb9c15cf41dd598dc (diff)
SF: increase the number of buffers for SurfaceView
3 buffers are not sufficient for most apps to render at high refresh rates. This change increases the maxAcquiredBufferCount on the buffer queue for all surfaces, and removes the hwui-specific extra buffer allocations. All Surfaces connected to SurfaceFlinger will have now enough buffers to account for configured 'debug.sf.late.app.duration' value. Test: Run backpressure based game on 60Hz and 120Hz and collect traces Bug: 188553729 Change-Id: Ib8fda5db3f48c3bfc6fbf07167b4313674512cee
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions