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
Loading
Please register or sign in to comment