replicant-frameworks_native/services
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
..
batteryservice Show charging speed on Keyguard 2015-07-10 13:10:13 -07:00
inputflinger Cancel touches as well as pointer gestures. 2015-07-13 09:44:02 +01:00
powermanager Frameworks/native: Wall Werror in batteryservice & powermanager 2014-11-13 14:31:11 -08:00
sensorservice Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors. 2015-07-20 17:32:09 -07:00
surfaceflinger SF: Track missed frames and optionally drop them 2015-07-23 11:15:32 -07:00