Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1456c16 authored by Lloyd Pique's avatar Lloyd Pique
Browse files

SF: Add ro.surface_flinger.min_acquired_buffers

This is a minimum count of buffers to indicate when computing the return
value for ISurfaceComposer.getMaxAcquiredBufferCount(). The value is
read from "ro.surface_flinger.min_acquired_buffers" if set, otherwise
the default of value of 1 is used if not.

Setting values larger than 1 affects how many buffers apps should
allocate to keep the display pipeline busy.

Bug: 239574096
Bug: 239575317
Test: Configuring "2" works.
Test: atest libsurfaceflinger_unittest

Change-Id: I4e3a441bdf94cddebb766e6bf73f7cdb82aacd0d
parent 5302d3b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment