CompuServe Thread

#Double-Buffering

2 messages in this thread
#3547From: Raja Vallee-RaiNov 11, 1990 5:17 PM
I'm interested in doing some double-buffering in a custom created Intuition Window. Could someone help me out with this one? I managed to do so in a custom "View", by having 2 of them, and switching back and forth with the LoadView() function. I tried a few times within a Window do to something similar, but I got no where. Thanks, Raja.
#3552From: Bob RakoskyNov 11, 1990 7:04 PM
Raja, It can be done (with a couple of important limitations). I have altered the Screen->ViewPort.RasInfo->BitMap pointer, and done a MakeScreen(), RethinkDisplay() sequence of calls and achieved double-buffering of the Screen (not just the Window). The gotcha's with this approach include the fact that you can't have Intuition doing any of the rendering on your screen (menus, window movements, gadget highlighting, etc) while you're fiddling with things (things must be in their original state for Intuition to be able to render correctly), and things must be restored to their original condition before you close windows and/or screens. Intuition doesn't really know about double-buffering and gets confused easily. Use this technique only if you're willing to be very careful (and accept the consequences if/when you're not). Hope this helps… …BobR White Wolf Productions