Skip to content

Commit 73b518d

Browse files
author
Jonah Williams
authored
[iOS] increase backdrop cached task limit. (#164036)
Partial workaround for #161142 . Since this was an arbitrary number anyway we can increase it a bit.
1 parent 5a8f23c commit 73b518d

File tree

1 file changed

+1
-1
lines changed
  • engine/src/flutter/impeller/renderer

1 file changed

+1
-1
lines changed

engine/src/flutter/impeller/renderer/context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Context {
5757
/// This number was arbitrarily chosen. The idea is that this is a somewhat
5858
/// rare situation where tasks happen to get executed in that tiny amount of
5959
/// time while an app is being backgrounded but still executing.
60-
static constexpr int32_t kMaxTasksAwaitingGPU = 10;
60+
static constexpr int32_t kMaxTasksAwaitingGPU = 64;
6161

6262
//----------------------------------------------------------------------------
6363
/// @brief Destroys an Impeller context.

0 commit comments

Comments
 (0)