Skip to content

Optimize graphx #616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Optimize graphx #616

wants to merge 7 commits into from

Conversation

ZERICO2005
Copy link
Contributor

Non-transparent sprite rotation was further optimized by a good amount.

Optimized the clipping function for gfx_Sprite, gfx_TransparentSprite.

Sprite flip/rotate90/rotate180 routines were optimized.

Other routines were also optimized, mainly in ways that reduce size while maintaining or improving performance. Although most performance gains were constant (i.e. 4F faster per function call) instead of linear (i.e. 2F * line_count faster).

@ZERICO2005 ZERICO2005 marked this pull request as ready for review June 14, 2025 21:18
@ZERICO2005 ZERICO2005 marked this pull request as draft June 14, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant