Files
sousa-gecko/layout/svg
Timothy Nikkel 0397cc0f5d Bug 1982067. In MixModeBlender (used for PaintFrameWithEffects) use the correct function to determine if we can create a surface of size/format. r=gfx-reviewers,lsalzman
gfx::Factory::CheckSurfaceSize (called with only the size argument) only checks that the size is non-size and the storage required does not exceed int32_t addressable range. But CreateSimilarDrawTarget will reject if any dimension is over 32k. gfx::Factory::AllowedSurfaceSize would check the same, so CheckSurfaceSize is only appropriate in more limited contexts despite seeming more general.

Differential Revision: https://phabricator.services.mozilla.com/D260614
2025-08-11 04:30:59 +00:00
..