Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted

I've made a fullscreen directdraw program before using page flipping. I want to make a windowed program now, though, so I was thinking the best choice would be double buffering. Am I right?

 

And if so, could someone give me a simple description as to how exactly to do double buffering, i.e. what objects do i need and what methods should i call when? Im not really looking for code, but more of a basic idea of how double buffering should be implemented.

[sIGPIC]e[/sIGPIC]
Posted
Buffering is pretty much the same as Flipping except you have to use Blt to copy the Backbuffer to Primary surface and the BackBuffer has to be declared as an OFFSCREENPLANE
.Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...