27 November 2004, 16:01 | #1 | ||
Moderator
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
|
Smart and Simple refresh - difference?
Can someone please clarify the difference between “Smart” and “Simple” refresh. Scalos and SmartWB readme files contradict one another:
Scalos Windowtype: Quote:
Quote:
|
||
27 November 2004, 18:49 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,002
|
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. |
27 November 2004, 20:50 | #3 |
Moderator
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
|
Nice detailed info Thomas. That at least helps me to make an informative choice.
Do you know if the Blitter does the redrawing for damaged/covered windows in Smart refresh also, using less CPU? Ultimately I want to know the best settings for Scalos and MUI in a) AGA native screen b) P96 screen. I’d imagine MUI is best left to smart with its complex details. Scalos is confusing – it’s hard to test which is faster on an emulator! I’ve tried opening several windows and cycling through them using the depth gadget, but can’t notice any difference. I remember using SmartWB (smart refresh) on my A1200 in normal (non-scalos) workbench and depth cycling was considerably faster, at the sacrifice of a little ram as you said. Unless anyone knows better, I guess I’ll just leave Scalos on Simple as this was its default choice, uses less memory, claims to be confusingly faster in the readme and I’m unable to test the benefits of setting it to Smart. Last edited by Bloodwych; 27 November 2004 at 21:06. |
28 November 2004, 08:06 | #4 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,002
|
Quote:
IMHO smart refresh is faster in most cases. As I mentioned in my previous post, there often are situations where you can watch a window redraw itself on simple refresh. I usually use smart refresh in my applications because it is easier to handle. If the OS is smart, the application does not need to be. |
|
28 November 2004, 11:19 | #5 |
Moderator
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
|
Thanks for the info Thomas, helpful as always.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SFS V2.3!! (Smart File System V2.3) | BarrySWE | News | 26 | 05 January 2018 14:22 |
smart file system | wilch | support.WinUAE | 5 | 07 March 2011 09:55 |
Refresh rates | Harkonnen | support.WinUAE | 3 | 18 December 2007 13:10 |
Smart File system install woes. | r6stu | support.Apps | 2 | 20 October 2007 16:57 |
auto refresh | turrican3 | request.UAE Wishlist | 0 | 13 May 2007 13:30 |
|
|