bump max tasks to a huge number. (#166876)

64 isn't a big enough number, go higher!
This commit is contained in:
Jonah Williams 2025-04-09 15:42:50 -07:00 committed by GitHub
parent 06c572c730
commit f6c2b1dd78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,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 = 64;
static constexpr int32_t kMaxTasksAwaitingGPU = 1024;
//----------------------------------------------------------------------------
/// @brief Destroys an Impeller context.