commit | 8020d3782457b85b7a7fd07ab7d95678fd21cbdd | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Fri Jul 17 19:03:11 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jul 17 19:03:11 2020 +0000 |
tree | ff9ce0e622803d7c79bf57114c06dd09c6631fcb | |
parent | 2293c89c1a352f918d3ecdf77bd8bafe757c8ecd [diff] | |
parent | 3fab51ee7064bc478ebaeadf068ceb628ca2365a [diff] |
Merge "Trace acquire fence at queue time instead of at latch time" into rvc-dev-plus-aosp am: 3fab51ee70 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12170611 Change-Id: Ifa908e6f70aaa2d42b9b63b4bd4b90345a482c04
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) {