replicant-frameworks_native/services/surfaceflinger
Haixia Shi 179bd77ab6 SF: more DispSync improvements.
Pass the reference time to DispSyncThread. Since the phase offset is calculated
using timestamps relative to the reference time, we must also adjust the phase
offset by the same reference time when computing the next refresh time.

Always reset phase offset to zero when updating the reference time because the
reference time equals the first timestamp.

After beginResync() we need to keep HW vsync enabled until the model is updated.

Bug: 25113115
Change-Id: I8eae227bee91c24a99bf8e57fbebceb98d29c77d
Test: check in systrace that app/sf vsync events have correct phase
2016-07-20 04:16:16 -07:00
..
DisplayHardware surfaceflinger: Add support for Exynos BGRA mixer 2016-04-27 10:18:32 -07:00
Effects Don't simulate color space after correction 2014-03-10 12:43:49 -07:00
EventLog surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
ExSurfaceFlinger SurfaceFlinger: Add support for continuous dumpsys to file. 2016-03-13 03:28:46 -07:00
RenderEngine SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
tests SurfaceFlinger : Ensure position changes are drawn with correct buffer size 2016-05-12 10:07:24 -07:00
Android.mk surfaceflinger: Add support for Exynos BGRA mixer 2016-04-27 10:18:32 -07:00
Barrier.h Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
CleanSpec.mk SurfaceFlinger : Ensure position changes are drawn with correct buffer size 2016-05-12 10:07:24 -07: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
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp SurfaceFlinger: Tweak whitespace in DdmConnection 2015-05-28 14:23:54 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DispSync.cpp SF: more DispSync improvements. 2016-07-20 04:16:16 -07:00
DispSync.h SF: more DispSync improvements. 2016-07-20 04:16:16 -07:00
DisplayDevice.cpp sf: Only apply hwrotation to primary displays 2016-06-17 16:10:21 +02:00
DisplayDevice.h Revert "surfaceflinger: Consolidate display orientation compensation hooks" 2015-11-10 23:58:46 +01:00
DisplayUtils.cpp surfaceflinger: Don't allow QC HWC virtual display without QC HWC copy 2016-02-10 17:20:06 -08:00
DisplayUtils.h sf: vds: Avoid HWC for certain scenarios 2015-11-02 08:15:21 -08: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
FrameRateHelper.h SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08: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: Fix blending mode for legacy BSP 2016-07-20 00:46:07 +02:00
Layer.h SurfaceFlinger : Ensure position changes are drawn with correct buffer size 2016-05-12 10:07:24 -07:00
LayerBlur.cpp sf : Apply user defined panel orientation to blur layer 2015-11-16 14:00:25 -08:00
LayerBlur.h SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
LayerDim.cpp SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
LayerDim.h SurfaceFlinger: Native changes to add blur effect 2015-11-08 01:07:13 -08:00
MODULE_LICENSE_APACHE2
MessageQueue.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
MessageQueue.h fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -07:00
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 surfaceflinger: Add support for secondary color matrix 2016-04-12 13:14:26 -07:00
SurfaceFlinger.h surfaceflinger: Add support for secondary color matrix 2016-04-12 13:14:26 -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 color blindness enhancement 2013-09-04 22:11:15 -07:00
clz.h
main_surfaceflinger.cpp Android 6.0.1 release 22 2016-03-10 18:17:45 -08:00