commit | d1584280f13b8c3089600159742a1f7081bf8fdd | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Jul 08 03:16:06 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 08 03:16:06 2020 +0000 |
tree | cebc5fe44246a66c25bd5e960ea2dbdf06ba042c | |
parent | 9f34cef41f7242e4d6604a8f63a6c35a9cd9a37b [diff] | |
parent | 59aa529a5365c0c054444b8b36c2567cb23a7a48 [diff] |
Merge "SurfaceFlinger: Enable ealy offset for reused client composition" into rvc-d1-dev am: e29fcaca9a am: 59aa529a53 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12086962 Change-Id: I0bfbda888561666b47ffc0d97b9d76d0bbe825d0
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 07690cb..0ac3d32 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2121,7 +2121,8 @@ mTimeStats->incrementCompositionStrategyChanges(); } - mVSyncModulator->onRefreshed(mHadClientComposition); + // TODO: b/160583065 Enable skip validation when SF caches all client composition layers + mVSyncModulator->onRefreshed(mHadClientComposition || mReusedClientComposition); mLayersWithQueuedFrames.clear(); if (mVisibleRegionsDirty) {