Go to file
Dan Stoza ecc504043f SurfaceFlinger: Fix PTS on stale buffers
SurfaceFlinger's (Layer's) shadow copy of the BufferQueue queue was
getting out of sync for a few reasons. This change fixes these by
doing the following:

- Adds a check to re-synchronize the shadow copy every time we
  successfully acquire a buffer by first dropping stale buffers before
  removing the current buffer.
- Avoids trying to perform updates for buffers which have been rejected
  (for incorrect dimensions) by SurfaceFlinger.
- Adds IGraphicBufferConsumer::setShadowQueueSize, which allows the
  consumer to notify the BufferQueue that it is maintaining a shadow
  copy of the queue and prevents it from dropping so many buffers
  during acquireBuffer that it ends up returning a buffer for which the
  consumer has not yet received an onFrameAvailable call.

Bug: 20096136
Change-Id: I78d0738428005fc19b3be85cc8f1db498043612f
(cherry picked from commit 2e36f2283f)
2015-05-01 12:23:44 -07:00
build Increase growth limit from 64m to 80m for 1024mb hdpi tablet 2014-12-11 13:40:37 -08:00
cmds Inclide checkin format of dumpsys package in bugreport. 2015-04-28 13:32:54 -07:00
data/etc Adding a configuration file to support hifi sensors feature. 2015-04-10 11:26:02 -07:00
include SurfaceFlinger: Fix PTS on stale buffers 2015-05-01 12:23:44 -07:00
libs SurfaceFlinger: Fix PTS on stale buffers 2015-05-01 12:23:44 -07:00
opengl libEGL: Add wrappers for partial update functions 2015-04-15 13:02:27 -07:00
services SurfaceFlinger: Fix PTS on stale buffers 2015-05-01 12:23:44 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00