Go to file
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
build Add dalvik heap/hwui overrides for xxxhdpi phone with 4096MB RAM 2016-05-31 11:09:56 -07:00
cmds dumpstate: add CM version to output 2016-05-26 16:32:59 -07:00
data/etc native: add ambient temperature & relative humidity sensor features 2015-11-04 12:28:21 -08:00
docs framework/native/docs: remove doc footer for jd output 2015-05-27 10:13:35 -07:00
include Android 6.0.1 release 46 2016-06-07 10:10:09 -07:00
libs system_server BINDER_TYPE_FD driver ashmem accessors 2016-07-15 13:04:30 -07:00
opengl surfaceflinger: Add support for Exynos BGRA mixer 2016-04-27 10:18:32 -07:00
services SF: more DispSync improvements. 2016-07-20 04:16:16 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00