replicant-frameworks_native/include/gui
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
..
ISensorEventConnection.h
ISensorServer.h
ISurfaceTexture.h return correct value from query after connecting a surface 2011-08-08 20:25:44 -07:00
Sensor.h
SensorChannel.h
SensorEventQueue.h
SensorManager.h SensorManager reconnects to sensor service when the later dies 2011-10-16 22:15:23 -07:00
SurfaceTexture.h SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call 2011-11-15 11:43:35 -08:00
SurfaceTextureClient.h remove dead code and member variables. 2011-07-25 20:03:43 -07:00