replicant-frameworks_native/services/surfaceflinger
Ricardo Cerqueira b87c456431 surfaceflinger: Track the last surfaceview frame for latency dumps
When measuring GL latency with dumpsys, it's possible to hit a
race condition if the hardware is fast enough to complete rendering
the test cycle before the latency dump is requested, since it only
matches the latency for live layers (unless it's an animation. See
change I8bded1ea08a4cddefef0aa955401052bb9107c90)

So always save a reference to the last rendered SurfaceView frame,
and dump its values if there isn't an active one.

Change-Id: I740e9830161396ea955b5a53322bd8576b5136bc
2015-10-17 13:58:36 -07:00
..
DisplayHardware surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
Effects Don't simulate color space after correction 2014-03-10 12:43:49 -07:00
EventLog
RenderEngine RenderEngine: remove warning "using EGL_IMG_context_priority" 2015-10-16 14:46:08 -07:00
tests Fix surfaceflinger tests. 2015-05-22 13:14:57 -07:00
Android.mk surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07: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-04-10 20:26:51 -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 Enable clang for libui/libgui/surfaceflinger 2014-12-04 17:56:17 -08:00
DdmConnection.h
DisplayDevice.cpp sf: This is a combination of following changes. 2015-10-06 03:22:26 -06:00
DisplayDevice.h sf: This is a combination of following changes. 2015-10-06 03:22:26 -06:00
DisplayUtils.cpp surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
DisplayUtils.h SurfaceFlinger: Add support for V4L2 based wfd solution. 2015-10-06 03:22:26 -06:00
DispSync.cpp input: Adjust priority 2015-10-17 13:51:11 -07:00
DispSync.h sf: Avoid disabling DispSync resync 2015-10-06 03:22:28 -06:00
EventControlThread.cpp SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventControlThread.h SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventThread.cpp input: Adjust priority 2015-10-17 13:51:11 -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 SurfaceFlinger: Add support for DisplayUtils 2015-10-06 03:22:25 -06:00
Layer.h surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
LayerDim.cpp SurfaceFlinger: Add dim layer information into HWC layer. 2015-10-06 03:22:28 -06:00
LayerDim.h SurfaceFlinger: Add dim layer information into HWC layer. 2015-10-06 03:22:28 -06:00
main_surfaceflinger.cpp SurfaceFlinger: Add support for DisplayUtils 2015-10-06 03:22:25 -06: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-08 09:40:49 -07:00
MonitoredProducer.h libgui/SurfaceFlinger: Add getConsumerName 2015-06-08 09:40:49 -07:00
SurfaceFlinger.cpp surfaceflinger: Track the last surfaceview frame for latency dumps 2015-10-17 13:58:36 -07:00
SurfaceFlinger.h Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
SurfaceFlingerConsumer.cpp Fix PTS handling for buffer replacement 2015-05-12 13:10:17 -07:00
SurfaceFlingerConsumer.h Fix PTS handling for buffer replacement 2015-05-12 13:10:17 -07:00
Transform.cpp Add clamp to Layer and update Transform inverse. 2014-11-21 17:05:18 -08:00
Transform.h color blindness enhancement 2013-09-04 22:11:15 -07:00