commit | c4681987fe78d9d9d5ed5b7631bcf44c8126886c | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Jul 29 15:45:22 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 29 15:45:22 2020 +0000 |
tree | 5b60c90a4ce821f229072b5f1cd5b84fb987b481 | |
parent | 171f2e8621ff1e97eede37cd6c008720c14f93ee [diff] | |
parent | 9e5ab12b9b06d4ba58ef5ed0f30f71afb6ebdaa8 [diff] |
Merge "Remove __android_logger_property_get_bool()" am: f289a9e1be am: b9b67c3430 am: 9e5ab12b9b Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1373986 Change-Id: I0426c12fc42326fddb6f7b9c547b250f9c03a6f4
diff --git a/services/inputflinger/reader/include/TouchVideoDevice.h b/services/inputflinger/reader/include/TouchVideoDevice.h index 5a32443..7de9b83 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) {