Long story short, I’m having performance issues, mostly related to some rendering stuff I’m doing using a third party library. Which I’m also looking to improve or replace, but that’s a different topic.
I’m wondering if I can improve performance by foregoing the conversion from SDL_Surface to SDL_Texture. I would imagine the tradeoff looks something like this:
(plus) Renders to window way faster (every frame)
(minus) Overhead in conversion (once)
(minus) Overhead moving to VRAM (once)
For most stuff, it’s a no brainer, since you’ll generally want to render many more times than once. But considering I’m altering the image every frame, is the overhead worth considering?