| commit | a22cda2c3294c945ef21f602f256bab413bc72ba | [log] [tgz] |
|---|---|---|
| author | Victor Khimenko <khim@google.com> | Tue Jul 14 17:30:06 2020 +0000 |
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 14 17:30:06 2020 +0000 |
| tree | 0132b07de196ad270f3e328218047e2d02a5f6a0 | |
| parent | ec25112837dd560a4a8500356e6fc08d50aff4dd [diff] | |
| parent | 4b2220c0c0cdf33d694e39444e31df4532d037c6 [diff] |
Merge changes from topic "rvc.nb.rs" into rvc-dev am: 4b2220c0c0 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12128091 Change-Id: I22f2bafd363f0b9610d043b8b063a8bcdd61c28d
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 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) {