Go to file
Sunita Nadampalli a929748ddb SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call
Surface Texture dequeue logic is modified to return the oldest of the
free buffers to Client on dequeue call.

Currently dequeue method is returning the first buffer index which is free.
The parsing is done in ascending order of the buffer slot indices.
This leads to returning the buffer which has been just queued to composer,
and hence display, and this defeats the purpose of having minimum dequeue count
as 2 in asynchrnouse mode.

This is fixed by checking all the free slots and returning the oldest buffer.

Change-Id: Ibbac10593c3994c278c601af0480b171635ecdd4
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
2011-11-15 11:43:35 -08:00
cmds Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
include SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call 2011-11-15 11:43:35 -08:00
libs SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call 2011-11-15 11:43:35 -08:00
opengl Merge "Terminate EGL when an app goes in the background" into ics-mr1 2011-11-10 17:10:41 -08:00
services/surfaceflinger Back to 59fps 2011-11-09 17:54:37 -08:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00