commit | b17833ff619ebee153a14cb936c2fdc65e9d476f | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Wed Oct 25 18:16:25 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Oct 25 18:16:25 2017 +0000 |
tree | e4cfde78895db16cc2902d851db405e26161c8e4 | |
parent | c5e26a942ebe2a3c189024100d4d9b617aa5133c [diff] | |
parent | 893e8b545f5280316cc39c887b3289188539298a [diff] |
Merge "sf: Initialize DispSync in SurfaceFlinger_hwc1" am: 263921f53c am: 893e8b545f Change-Id: I43fc7188444ff31cbead25ebda6e88dd95e23fbe
diff --git a/services/surfaceflinger/SurfaceFlinger_hwc1.cpp b/services/surfaceflinger/SurfaceFlinger_hwc1.cpp index a92e1f9..1d6fbaf 100644 --- a/services/surfaceflinger/SurfaceFlinger_hwc1.cpp +++ b/services/surfaceflinger/SurfaceFlinger_hwc1.cpp
@@ -179,6 +179,8 @@ maxFrameBufferAcquiredBuffers = getInt64< ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers>(2); + mPrimaryDispSync.init(hasSyncFramework, dispSyncPresentTimeOffset); + char value[PROPERTY_VALUE_MAX]; property_get("ro.bq.gpu_to_cpu_unsupported", value, "0");