If a VI is lost then it will NOP (i.e. nothing can be rendered to it and it will not affect the destination if used as a source) until it is validated again and the buffer is restored. When you validate it you should then fill it in with what you want.
If the VIs are being used to avoid a full repaint then it is likely that your main VI/backbuffer will have been lost if the "saved area" VI is lost which means a full repaint anyway. I say "likely" because it is still possible that your smaller "save" VI can be lost without your main buffer being lost, but in practice your VIs will tend to be lost as a group - most likely because some other DDraw program came to the foreground and pushed surfaces from all other applications out of VRAM. (Dmitri or Chris could probably clarify that better than I can.) So, if having the contents of the BI survive a VRAM lossage is useful, then saving the contents in the (persistent) BI can serve a purpose, but it will be slower as you've discovered. But, if the saved areas are useless if the main buffer is lost (because a more complete redraw will be necessary?) then I wouldn't worry about it and just use VI's for everything for performance. Also, you have to measure the performance gain of the VI against the very small chance that its contents may be lost and the cost of what you would have to do if it were lost to make a complete determination. Sometimes worrying about preventing the loss is more expensive than just dealing with it when it happens. Be sure to check for contentsLost on the sub-VIs as well as the main one for completeness. You may be likely to find everything gone all at once, but you want to avoid a problem should just one get lost. [Message sent by forum member 'flar' (flar)] http://forums.java.net/jive/thread.jspa?messageID=247248 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".