commit | 893e8b545f5280316cc39c887b3289188539298a | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Wed Oct 25 18:13:46 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Oct 25 18:13:46 2017 +0000 |
tree | d74c4ca4cc16d0a6136578dadceb78de8c914dda | |
parent | 1b32f2bbe4f271e029e89cdb0d2c2e609f607d1d [diff] | |
parent | 263921f53cdddc6becac4bfa07e3fb27764adc12 [diff] |
Merge "sf: Initialize DispSync in SurfaceFlinger_hwc1" am: 263921f53c Change-Id: If98190c855c2ee473d8b7c97373272494c818f35
diff --git a/services/surfaceflinger/SurfaceFlinger_hwc1.cpp b/services/surfaceflinger/SurfaceFlinger_hwc1.cpp index e2fdf96..11fce05 100644 --- a/services/surfaceflinger/SurfaceFlinger_hwc1.cpp +++ b/services/surfaceflinger/SurfaceFlinger_hwc1.cpp
@@ -178,6 +178,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");