[Webkit-unassigned] [Bug 239896] Safari Tab freezes when creating too many webgl render calls without flushing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 6 14:13:40 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239896
--- Comment #4 from Kyle Piddington <kpiddington at apple.com> ---
Looking at the code, it seems that we only flush when we exceed a resident resource count. Either this isn't being calculated right, or we need more flush conditions.
bool CommandBuffer::needsFlushForDrawCallLimits() const
{
return mWorkingResourceSize > kMaximumResidentMemorySizeInBytes;
}
We might need to tweak this to a maximum number of drawArrays calls too. 10k, maybe?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220506/3a41366c/attachment.htm>
More information about the webkit-unassigned
mailing list