English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 17 December 2013, 20:13   #1
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Happy Make Window Refresh Faster?

Hi,

I noticed that my windows are refreshed very slowly when they are partially overlapped by other Windows, especially when the visible window part is not one rectangle. Is there a way to make this faster? These are my tags:

Code:
.defaultwintags    dc.l    WA_NewLookMenus,TRUE
        dc.l    WA_MenuHelp,TRUE
        dc.l    WA_ReportMouse,TRUE
        dc.l    WA_SmartRefresh,TRUE
        dc.l    WA_AutoAdjust,TRUE
        dc.l    WA_Activate,TRUE
        dc.l    WA_GimmeZeroZero,TRUE
        dc.l    WA_BackFill,LAYERS_NOBACKFILL
        dc.l    TAG_END
AGS is offline  
Old 05 January 2014, 23:03   #2
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,333
GimmeZeroZero windows are quite slow. Is there any way you can avoid using a GZZ window?
mark_k is offline  
Old 06 January 2014, 03:43   #3
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
There is a way. However I tried it and was not able to notice a speedup. What operations do perform faster w/o gzz and on what hardware?
AGS is offline  
Old 06 January 2014, 12:26   #4
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,333
The RKRM: Libraries says this about GZZ windows:

WARNING!
The GimmeZeroZero window uses more system resources than other window types because the window creates a separate layer for the border display. Using multiple GimmeZeroZero windows will quickly degrade performance in the positioning and sizing of windows.

Applications should consider using regions as an alternative to GimmeZeroZero windows. See the "Layers Library" chapter, especially the InstallClipRegion() function, for information on setting up regions to limit graphics display in the window.
mark_k is offline  
Old 06 January 2014, 17:05   #5
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
I now switched all to normal (non-gzz) windows.
AGS is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can it be faster? oRBIT Coders. General 2 16 May 2011 20:38
Anything to make A600 IDE go faster? Photon support.Hardware 6 18 October 2009 18:31
Refresh rates Harkonnen support.WinUAE 3 18 December 2007 13:10
Can I make WinUAE faster? (loading time and such) EssKung support.WinUAE 15 29 May 2007 11:59
memory refresh Fx1 Lee request.Old Rare Games 10 25 February 2004 23:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16842 seconds with 15 queries