commit | c7481bbeb35c8c64cf21e79794dafb615197dbf1 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Fri Jul 17 15:04:29 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jul 17 15:04:29 2020 +0000 |
tree | d1f9f9615a100b9705b9de8982ad346167d032c8 | |
parent | a22cda2c3294c945ef21f602f256bab413bc72ba [diff] | |
parent | df8a0739f7ab42ce59e2370867d26ed2793b6228 [diff] |
Fix TextureView calling eglCreateImage with a destructed buffer am: df8a0739f7 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12174650 Change-Id: I619eabbcbba87981e5acf99b16ebcf8b736c940e
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) {