replicant-frameworks_native/libs/gui
Dan Stoza e64a79cd85 Fix PTS handling for buffer replacement
This changes the way that SurfaceFlinger's shadow buffer management
works such that instead of tracking the size of the shadow queue in the
BufferQueue, SF tracks the last frame number it has seen, and passes
that into the acquireBuffer call. BufferQueueConsumer then ensures that
it never returns a buffer newer than that frame number, even if that
means that it must return PRESENT_LATER for an otherwise valid buffer.

Change-Id: I3fcb45f683ed660c3f18a8b85ae1f8a962ba6f0e
(cherry picked from commit a4650a50a0)
2015-05-13 09:43:35 -07:00
..
tests
Android.mk
BitTube.cpp
BufferItem.cpp
BufferItemConsumer.cpp
BufferQueue.cpp
BufferQueueConsumer.cpp
BufferQueueCore.cpp
BufferQueueProducer.cpp
BufferSlot.cpp
CleanSpec.mk
ConsumerBase.cpp
CpuConsumer.cpp
DisplayEventReceiver.cpp
GLConsumer.cpp
GraphicBufferAlloc.cpp
GuiConfig.cpp
IConsumerListener.cpp
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp
IGraphicBufferConsumer.cpp
IGraphicBufferProducer.cpp
IProducerListener.cpp
ISensorEventConnection.cpp
ISensorServer.cpp
ISurfaceComposer.cpp
ISurfaceComposerClient.cpp
LayerState.cpp
Sensor.cpp
SensorEventQueue.cpp
SensorManager.cpp
StreamSplitter.cpp
Surface.cpp
SurfaceComposerClient.cpp
SurfaceControl.cpp
SyncFeatures.cpp