replicant-frameworks_native/services/surfaceflinger
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
..
DisplayHardware libgui: Allow an IGBProducer to disable allocation 2015-04-23 15:28:12 -07:00
Effects
EventLog
RenderEngine Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor" 2015-04-30 21:57:15 +00:00
tests Merge "Error compiling waitforvsync.cpp" 2015-02-25 23:42:17 +00:00
Android.mk resolved conflicts for merge of 1665c8e1 to lmp-mr1-dev-plus-aosp 2015-01-27 11:49:26 -08:00
Barrier.h
Client.cpp
Client.h
clz.h
Colorizer.h
DdmConnection.cpp Enable clang for libui/libgui/surfaceflinger 2014-12-04 17:56:17 -08:00
DdmConnection.h
DisplayDevice.cpp Enable clang for libui/libgui/surfaceflinger 2014-12-04 17:56:17 -08:00
DisplayDevice.h surfaceflinger: fix -Wmismatched-tags warnings 2014-10-31 09:51:10 -07:00
DispSync.cpp surfaceflinger: add getDisplayStats() method 2014-09-18 17:03:20 -07:00
DispSync.h surfaceflinger: add getDisplayStats() method 2014-09-18 17:03:20 -07:00
EventControlThread.cpp
EventControlThread.h
EventThread.cpp SF: Permit changing DispSync offsets at runtime 2015-04-15 13:56:28 -07:00
EventThread.h SF: Permit changing DispSync offsets at runtime 2015-04-15 13:56:28 -07:00
FrameTracker.cpp
FrameTracker.h
Layer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
Layer.h Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
LayerDim.cpp Silence warnings about unused parameters. 2014-09-09 16:53:59 -07:00
LayerDim.h Frameworks/native: Wall Werror in surfaceflinger 2014-11-13 14:18:56 -08:00
main_surfaceflinger.cpp Kill HAVE_PTHREADS. 2015-01-26 22:36:36 -08:00
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp libgui: Allow an IGBProducer to disable allocation 2015-04-23 15:28:12 -07:00
MonitoredProducer.h libgui: Allow an IGBProducer to disable allocation 2015-04-23 15:28:12 -07:00
SurfaceFlinger.cpp SurfaceFlinger: Limit to 4k Layers 2015-04-30 14:29:30 -07:00
SurfaceFlinger.h SurfaceFlinger: Limit to 4k Layers 2015-04-30 14:29:30 -07:00
SurfaceFlingerConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
SurfaceFlingerConsumer.h Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
Transform.cpp Add clamp to Layer and update Transform inverse. 2014-11-21 17:05:18 -08:00
Transform.h