Which is better..Multi-windowed or Multi-surfaced DirectX app?
Posted on 2001-07-14
I'm starting out a new project that basically will be a DirectX interface with either
1) Tiled windows within the main window, where each window
manages its own primary/background surface and flipping.
2) Using just the entire window and managing multiple surfaces
(For example: the top-left hand portion of the window is one surface, etc)
Note: I intend to have about 4 to 5 separate sub-windows. One implements
parallax scrolling (borrowing from SAMS book example) and another surface is
essentially a status window. Am I pursuing the correct route, or is it
very easy to set up tiled windows within your app? If option 2 is
more do-able, what's the best strategy on managing the surfaces?
The one I've been thinking about is during each update()
bitblt the surfaces to a background buffer (whole screen)
and then flip it over the primary....
Thanks in advance.