1
Graphics / Re: efficient method for manipulating pixel data of surfaces/images
« on: September 30, 2014, 11:31:40 pm »If your application is performance critical use shaders, really!ah well. Thanks.
If you don't use shaders, your application can't be performance critical, or you've left out the important information. You're then left with keeping a copy of sf::Image or better yet a std::vector<sf::Unit8> on the RAM, doing your pixel manipulation and then calling update() on the sf::Texture.
I need the best possible framerate I can get for my software rendering project.
I remember using sdl years ago and getting around 8000fps writing (almost) directly to vram, same with directdraw, but with update() I count very few fps....