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 Merge "libgui: Allow an IGBProducer to disable allocation" 2015-04-24 15:50:10 +00:00
Android.mk libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BitTube.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferItem.cpp libui/libgui: Fix errors in parceling 2015-04-20 13:17:22 -07:00
BufferItemConsumer.cpp DO NOT MERGE libgui: Remove IGBC::BufferItem 2015-03-20 12:29:04 -07:00
BufferQueue.cpp libgui: Hook up onFrameReplaced 2015-05-12 09:35:29 -07:00
BufferQueueConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
BufferQueueCore.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
BufferQueueProducer.cpp libgui: Always allow allocation on connect 2015-05-12 15:03:52 -07:00
BufferSlot.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
CpuConsumer.cpp DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal 2015-03-19 13:58:07 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
GLConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
GraphicBufferAlloc.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
GuiConfig.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00
IConsumerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IDisplayEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferAlloc.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
IGraphicBufferProducer.cpp libgui: Allow an IGBProducer to disable allocation 2015-04-23 15:28:12 -07:00
IProducerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorServer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
LayerState.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
Sensor.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorEventQueue.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorManager.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
StreamSplitter.cpp DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal 2015-03-19 13:58:07 -07:00
Surface.cpp Merge "Close Fence FDs in error cases of Surface and GraphicBufferMapper" 2015-04-30 21:49:40 +00:00
SurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SurfaceControl.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SyncFeatures.cpp libgui: Only allow one return from useFenceSync 2015-03-19 10:32:51 -07:00