commit | 7dbdbc8029d62a5ed37acb9c6a8344510a6d38cb | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jul 15 21:14:54 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 15 21:14:54 2020 +0000 |
tree | 02b4412c828ba1b46d928565ef2fac7e5545f318 | |
parent | 58c1391dfbc31783019224799c11f027c58dc90a [diff] | |
parent | 393aa754cab794c6910ea42344f99a5a72374501 [diff] |
Merge "Allow AIBinder<->IBinder when sharing libbinder." am: 6725fe4aa9 am: 015ddd7bb6 am: 393aa754ca Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1320698 Change-Id: Ia20b49c82696fea67ed52bbe713f7a0eaa420a14
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) {