From 73b518d0c36eae2903a7a47a483033634d1107be Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 25 Feb 2025 07:41:47 -0800 Subject: [PATCH] [iOS] increase backdrop cached task limit. (#164036) Partial workaround for https://github.com/flutter/flutter/issues/161142 . Since this was an arbitrary number anyway we can increase it a bit. --- engine/src/flutter/impeller/renderer/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/renderer/context.h b/engine/src/flutter/impeller/renderer/context.h index 8f6cd853dd..b7e8dee574 100644 --- a/engine/src/flutter/impeller/renderer/context.h +++ b/engine/src/flutter/impeller/renderer/context.h @@ -57,7 +57,7 @@ class Context { /// This number was arbitrarily chosen. The idea is that this is a somewhat /// rare situation where tasks happen to get executed in that tiny amount of /// time while an app is being backgrounded but still executing. - static constexpr int32_t kMaxTasksAwaitingGPU = 10; + static constexpr int32_t kMaxTasksAwaitingGPU = 64; //---------------------------------------------------------------------------- /// @brief Destroys an Impeller context.