RESOLVED FIXED330408
GradientImage can make unaccelerated images larger than max texture size
https://bugs.webkit.org/show_bug.cgi?id=330408
Summary GradientImage can make unaccelerated images larger than max texture size
Matt Woodrow
Reported 2026-11-05 18:06:46 PST

<rdar://192010252>

A generated GradientImage for a giant box can allocate a giant unaccelerated image, larger than max texture size.

We already restrict ImageBuffer allocations (and downscale) based on MaxClampedArea (4096^2), so this adds a single dimension restriction as well.

Attachments
Matt Woodrow
Comment 1 2026-11-05 18:16:08 PST
EWS
Comment 2 2026-11-08 15:15:17 PST
Committed 326103@main (0405d02cae06): <https://commits.webkit.org/326103@main> Reviewed commits have been landed. Closing PR #79872 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.