Skip to content

Add working-buffer blending and adjust row APIs#3102

Merged
JimBobSquarePants merged 1 commit intomainfrom
js/blend-perf-fixes
Apr 1, 2026
Merged

Add working-buffer blending and adjust row APIs#3102
JimBobSquarePants merged 1 commit intomainfrom
js/blend-perf-fixes

Conversation

@JimBobSquarePants
Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Required for ImageSharp.Drawing to allow maximum rasterization throughput.

By allowing the supply of a <Vector4> working buffer you prevent the need to rent/return a pooled buffer per row which when rasterizing rows adds up to significant time.

I've wired the new overload through DrawImage and the WEBP animation decoder to optimize their performance.

@JimBobSquarePants JimBobSquarePants merged commit b10a7ed into main Apr 1, 2026
12 checks passed
@JimBobSquarePants JimBobSquarePants deleted the js/blend-perf-fixes branch April 1, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant