replicant-frameworks_native/libs
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
..
binder am 5462bc63: Fix a leak in Parcel::writeBlob. 2011-11-05 02:35:57 +00:00
gui SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call 2011-11-15 11:43:35 -08:00
surfaceflinger_client Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
ui Region cannot handle malformed Rects. Abort the Region op in that case. 2011-09-26 15:58:20 -07:00
utils BlobCache: implement cache serialization 2011-10-31 18:49:32 -07:00