Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OneEyeLessThanNone

Swap or copy?

This topic is 6803 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

Advertisement
If you are making a program where most of the screen is going to change every screen (like most games) you are probably better off just redrawing the entire screen every frame. For example, if your game scrolls (RPG, 2-d shooter, etc.) or it is pretty much any 3d game, nearly the entire screen will have to be updated when the player moves.

I hope that helps. It really does depend on what you are making, but for most games, you''re probably best to go with a complete redraw every frame since so much is going to need to be redrawn anyway.

Share this post


Link to post
Share on other sites
Ok how about this, I will be updating most of the screen at times (unless the player stands still (2d overhead tile based engine)). My concern is will I be able to copy up to 600k to the video card per frame. There will likely be lots of blending and such but that would all be done in system memory. I don''t want the game running slow just because of copying. I will most likely have to do color conversions from rgb555 to rgb565 during the copy process.

Share this post


Link to post
Share on other sites
It is probably best to make a backbuffer, as 99% of video cards have over 2mb of RAM, and you get smooth animation too.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!