Skip to content

SWAR Color mixing - #664

Draft
JD557 wants to merge 8 commits into
masterfrom
faster-blur
Draft

JD557 wants to merge 8 commits into
masterfrom
faster-blur

Conversation

@JD557

@JD557 JD557 commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Adds some SWAR color mixing operations, which should speed up color blending.

In my initial tests, this seems to be quite faster in JVM (from 60FPS to 80FPS) and pretty much the same on Native.
I still haven't tested JS, not sure if that will suffer due to the longs.

Keeping this in draft until I finish testing. I might keep the LongColor abstraction around, just in case.

@JD557 JD557 added this to the 0.7.0 milestone Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant