OSDN Git Service

surfaceflinger: Set max acquired buffer count
authorNaseer Ahmed <naseer@codeaurora.org>
Tue, 19 Nov 2013 19:11:26 +0000 (14:11 -0500)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 3 Feb 2014 14:26:39 +0000 (22:26 +0800)
commit01c913243cb27fae8968a47cbd75bf604906481c
treebb4e419bba57f2f12c504860521bff6b5531a2e6
parentb293ef3e310314ae22e81e9ef3b0be0822467ab2
surfaceflinger: Set max acquired buffer count

If triple framebuffers are enabled, the number of acquired
buffers isn't increased by default. Set the count to one less
than the max buffers to make sure all three buffers come into
play.

Change-Id: I65054ed4004607f5be68c893f6f621e821cfbf1c
services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp