Reputation: 9263
I'm currently working on a code that uses SDL to display video and as i'm working through ssh, i'm looking for something like a text driver (just need to avoid seing the video because it's so slow).
So what I need is a simple way to avoid screen init and all that stuff that keep my framerate below 15fps :)
Does anyone know something that might help me?
Upvotes: 1
Views: 5529
Reputation: 18320
I'm not sure if that's what you want. But try:
export SDL_VIDEODRIVER=dummy
Upvotes: 4
Reputation: 567
How about using aalib as video driver? This will output all graphics as ascii art. From the SDL FAQ:
Building SDL: make distclean; ./configure --enable-video-aalib ; make install Running your app: set the environment variable SDL_VIDEODRIVER to "aalib".
Cheers
Upvotes: 3