replicant-frameworks_native/services/surfaceflinger
Dan Stoza 14cd37cf3d SF: Track missed frames and optionally drop them
Adds code to track whether SurfaceFlinger has sent two frames to HWC in
the same vsync window. This can occur if one frame is delayed so far
it slips into the next window or just if one frame takes an abnormal
amount of time. If this occurs, it shows up as FrameMissed in systrace.

Also adds a property debug.sf.drop_missed_frames which, if set, tells
SurfaceFlinger to skip sending a frame to HWC (i.e., calling
prepare/set) when we detect this condition, which can help prevent
backpressure from the HWC implementation.

Bug: 22513558
Change-Id: I2df0d44cec5fd6edba419388d8c90b5710d1a5b6
2015-07-23 11:15:32 -07:00
..
DisplayHardware sf: Fix incorrect state reporting in dumpsys 2015-06-12 09:48:07 -07:00
Effects Don't simulate color space after correction 2014-03-10 12:43:49 -07:00
EventLog
RenderEngine SF: Skip render-to-texture for color transforms 2015-05-28 13:35:39 -07:00
tests Fix surfaceflinger tests. 2015-05-28 13:33:25 -07: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 Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
Client.cpp Bypass surface flinger permission check for calls from system. 2015-05-28 14:19:22 -07:00
Client.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
clz.h
Colorizer.h
DdmConnection.cpp SurfaceFlinger: Tweak whitespace in DdmConnection 2015-05-28 14:23:54 -07: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 SF: Reduce resync samples without present 2015-06-01 11:26:34 -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 Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
FrameTracker.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
Layer.cpp SF: Ignore PTS more than one second in the future 2015-07-06 13:15:25 -07:00
Layer.h libgui/SF: Propagate SECURE Layer flag changes 2015-06-18 15:11:20 -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 native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
MessageQueue.h
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp libgui/SurfaceFlinger: Add getConsumerName 2015-06-09 11:28:37 -07:00
MonitoredProducer.h libgui/SurfaceFlinger: Add getConsumerName 2015-06-09 11:28:37 -07:00
SurfaceFlinger.cpp SF: Track missed frames and optionally drop them 2015-07-23 11:15:32 -07:00
SurfaceFlinger.h SF: Track missed frames and optionally drop them 2015-07-23 11:15:32 -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