View Single Post
Old 27 November 2004, 18:49   #2
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 5,681
Simple-refresh ist like Windows: when part of the window has to be redrawn (e.g. because you moved another window out of the way), the application gets a signal and has to redraw itself.

With smart-refresh Intuition saves the hidden parts of the window in a buffer and if these parts become visible again, the buffers are copied back. The application does not need to care about refreshing.

Regarding speed, one or the other might be faster. Letting the application redraw itself might be fast if there is not much to do. But if there are lots of lines and dots to be drawn (not just a big image), you can usually watch the window refreshing itself (just like Windows windows).

With smart-refresh the redraw has always the same speed, no matter how much has to be refreshed. It is always a copying of rectangular image parts. On an old A500 or even with AGA this might be slower, but with graphics cards and fast processors this will almost always be much quicker than simple-refresh. However, the buffers might take some memory. In the old Kick 1.3 days these buffers were said to take the same amount of memory as the whole screen for resizable windows. I don't know if this is still true or ever was.
thomas is offline  
Page generated in 0.03963 seconds with 10 queries