commit | a43d587ff5515bc54976c46b985846e27687ad37 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Tue Jul 21 02:17:28 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 21 02:17:28 2020 +0000 |
tree | fc1a255a122ec83c67d9b34544ccc102f2942ed7 | |
parent | 4f7b706b82f16cd8ed45b9d1f8118f93aa12293a [diff] | |
parent | 4a33165d18b017e6c700d881758fb5e2c00dfa4e [diff] |
Update refresh rate callback docs to include DisplayManager caveat. am: 4a33165d18 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12195342 Change-Id: I4699eca57ac88b6c678db685a5fc1efcc98c49d9
diff --git a/services/inputflinger/reader/include/TouchVideoDevice.h b/services/inputflinger/reader/include/TouchVideoDevice.h index 5a32443..7de9b830 100644 --- a/services/inputflinger/reader/include/TouchVideoDevice.h +++ b/services/inputflinger/reader/include/TouchVideoDevice.h
@@ -102,7 +102,7 @@ * How many buffers to keep for the internal queue. When the internal buffer * exceeds this capacity, oldest frames will be dropped. */ - static constexpr size_t MAX_QUEUE_SIZE = 10; + static constexpr size_t MAX_QUEUE_SIZE = 20; std::vector<TouchVideoFrame> mFrames; /**
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 1342cfc..9d65f2f 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2122,7 +2122,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) {