replicant-frameworks_native/libs/gui
Andy McFadden 14fab7dd79 Drop frames based on presentation timestamp
If there are two or more buffers pending that are ready for
immediate presentation, drop all but the last one.

Any code that didn't explicitly specify timestamps for buffers
was using the default value (auto-generated "now").  As a result,
surfaceflinger would drop frames whenever more than one buffer
was queued.  We now use zero as the auto-generated timestamp,
and we don't set the timestamp in eglBeginFrame().

Change-Id: I187f42d33de227cd3411ff0dcd3b9ce1961457eb
2013-08-01 15:58:08 -07:00
..
tests fix build 2013-07-26 17:26:16 -07:00
Android.mk BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
BitTube.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
BufferItemConsumer.cpp BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
BufferQueue.cpp Drop frames based on presentation timestamp 2013-08-01 15:58:08 -07:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
CpuConsumer.cpp BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
GLConsumer.cpp single buffer mode for BufferQueue 2013-07-26 18:45:02 -07:00
GraphicBufferAlloc.cpp SurfaceFlinger: Move GraphicBufferAlloc to libgui 2012-12-11 17:54:29 -08:00
GuiConfig.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00
IDisplayEventConnection.cpp Improve the VSYNC api a bit. 2011-12-06 22:43:10 -08:00
IGraphicBufferAlloc.cpp libgui: add some error checks 2012-08-30 18:38:11 -07:00
IGraphicBufferProducer.cpp Make Flattenable not virtual 2013-07-30 21:19:13 -07:00
ISensorEventConnection.cpp
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurfaceComposer.cpp rework how we take screenshots for a CPU consumer 2013-03-19 22:22:21 -07:00
ISurfaceComposerClient.cpp get rid of ISurface 2013-03-12 17:11:48 -07:00
LayerState.cpp get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
Sensor.cpp Make Flattenable not virtual 2013-07-30 21:19:13 -07:00
SensorEventQueue.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
SensorManager.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
Surface.cpp Drop frames based on presentation timestamp 2013-08-01 15:58:08 -07:00
SurfaceComposerClient.cpp always pass the BufferQueue explicitely to consumers 2013-07-12 22:06:26 -07:00
SurfaceControl.cpp Merge "Revert "Revert "Change SurfaceControl setPosition to take floats""" into jb-mr2-dev 2013-03-21 15:52:49 +00:00
SyncFeatures.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00