Jump to content
  • Advertisement
Sign in to follow this  

Using SDL to show a software rendered framebuffer

This topic is 2540 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, I'm going to use SDL 1.3 for my game. The game is software rendered at 320×224 (width may go up to 384 based on ratio, but you get my point), and scaled up to fit the window resolution accordingly (without filtering, scaling up is always done in integer values and the borders padded out).

Whatever, basically what I want to know is what's the best way to do it? All rendering is done by the program itself, SDL would be just used to output the result on screen. I'm not asking for code, just for a hint as to what functionality I should be looking for =P The framebuffer is always true color (i.e. not using a palette), if that helps.

PS: I'm willing to program the scaling if needed, but if SDL can do it hardware accelerated on the GPU, that's good. It needs to be nearest filtering though, not bilinear filtering.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!