Skip to content

Conversation

@HecaiYuan
Copy link
Contributor

We have optimized the functions BlitRGBtoRGBPixelAlphaLSX and SDL_FillRect4LSX opt. @slouken

@madebr
Copy link
Contributor

madebr commented Oct 28, 2025

Feature development happens to SDL3 in the main branch, which then can be back ported.
So can you please also create an equivalent SDL3 PR?

@HecaiYuan
Copy link
Contributor Author

Okay. No problem. @madebr

@slouken
Copy link
Collaborator

slouken commented Oct 28, 2025

Offhand, these look good. Do you have performance numbers that show the difference between LSX and non-LSX code paths for these operations?

@slouken slouken added this to the 2.x milestone Oct 28, 2025
@jinboson
Copy link

jinboson commented Oct 30, 2025

Hi @slouken ,we didn't find a good way to show the performance. We wrote these optimizations based on perf record results when using SDL to render videos. After these optimizations, and together with other optimizations merged before(see 50d8642), we find that the video renderings become more smoothly.

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.

4 participants