English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 July 2014, 16:30   #961
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Thanks for your test results, Michael


Update to icon.library 46.4.367:

Concerning my ineffective direct drawing optimization efforts I finally decided to modify the 363 code just a little by changing the order of some instructions.

In addition, there are a few new options supported now for displaying frames with planar icons only: PlanarFrames1 /2 /3 for different frame sizes and AllFramesOff which is a replacement for the old IconFramesOff (Delete that please).
PeterK is online now  
AdSense AdSense  
Old 30 July 2014, 04:01   #962
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.368:

The new option to add frames to planar icons only has a better support on OS 3.9 now. Changing the settings in Prefs/Workbench will keep this option alive. So you can easily select another frame size for planar icons only if one of the supplied instructions PlanarFrames1 /2 /3 is in your startup-sequence.

Furthermore, I've tweaked the color reduction for PNG and OS4 icons a bit.
PeterK is online now  
Old 30 July 2014, 04:20   #963
Retrofan
Ruler of the Universe

Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 5,716
Send a message via Skype™ to Retrofan
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.368:

The new option to add frames to planar icons only has a better support on OS 3.9 now. Changing the settings in Prefs/Workbench will keep this option alive. So you can easily select another frame size for planar icons only if one of the supplied instructions PlanarFrames1 /2 /3 is in your startup-sequence.

Furthermore, I've tweaked the color reduction for PNG and OS4 icons a bit.

Thanks a lot Peter, but I don't get the idea and the how-to. What settings should I let on the Prefs/WB and can you give an example of command to run on the s-s?
Retrofan is offline  
Old 30 July 2014, 05:43   #964
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
There are three new WB v44+ instructions for the startup-sequence available since 46.4.367:
PlanarFrames1, PlanarFrames2 and PlanarFrames3

Instead of enabling the frames for all icons you can use these instructions to activate frames for the old planar icons only. The 1, 2 or 3 at the end of the instruction is responsible for the size of the icon frame. Call these commands as usually before LoadWB. Of course, a workbench.library v44+ is required. If you have OS 3.9 then you can enable/disable or change the frame size with Prefs/Workbench. No support for DOpus Magellan II, as always.

Addendum concerning the usage of the PlanarFrames1-3 instructions:

If you call any one of these instructions on OS 3.9 from your startup-sequence already before IPrefs is executed then you will get the full control of the Prefs/Workbench settings in Envarc:Sys back. This means that your saved Prefs/Workbench selection of the icon frame size will be restored at boot time, but will affect only the old style planar icons and won't add a frame to any colormapped icon.

Last edited by PeterK; 05 August 2014 at 11:39.
PeterK is online now  
Old 05 August 2014, 09:57   #965
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.370:

The 68020 version has more direct drawing speed on OS 3.5+ now, because the Workbench task won't do any colormapping and C2P at all if it's not required. As a nice sideeffect you will have more free pens for other applications.

Last edited by PeterK; 05 August 2014 at 11:36.
PeterK is online now  
Old 05 August 2014, 17:47   #966
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 627
Open SYS:Prefs/ ~100 icons, mostly OS35 format


Lib, 8-bit, 16bit, 24bit
359, 1.68s, 1.92s, 2.18s
370, 1.90s, 1.84s, 2.12s


Truecolour has got a massive speedup!
But 8bit is for some reason much slower now
Michael is offline  
Old 05 August 2014, 19:39   #967
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.371:

It wasn't possible to enable FastColors on AGA screens. Fixed.

Thank you for your tests and bug report, Michael
Btw, what do you think about the new PlanarFrames1-3 options ?

Last edited by PeterK; 05 August 2014 at 20:07.
PeterK is online now  
Old 05 August 2014, 21:24   #968
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 627
371, 1.72s in 8bit, so it looks we are back to running fast again.

PlanarFrames1-3 is nice, sadly it only works for WB.
Would have saved me a lot of trouble by not setting all the GlowIcons to frameless.
But with this, MagicWB icons are always correct, no matter what you set the WB icon prefs too.
There is a small neglectable speed penalty for this so, v371, 1.82s in 8bit with PlanarFrames3.
Michael is offline  
Old 08 August 2014, 12:06   #969
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.372:

Some small tweaks here and there for the new direct drawing without colormapping (handling of special icons and low mem situations).
PeterK is online now  
Old 08 August 2014, 12:44   #970
jbenam
Italian Amiga Zealot

 
Join Date: Jan 2009
Location: Italy
Age: 30
Posts: 1,227
You're a machine, Peter!

Can't wait to update the icon.library on my Amiga, all the latest optimizations should give it a nice boost
jbenam is offline  
Old 10 August 2014, 01:58   #971
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.373:

WB-Reset was always remapping the icons completely without ever using the direct drawing and the delayed mapping. Thus it was wasting pens instead of setting them free, what it really does now on Workbench 3.5+ with a gfx-card (look at Scout=>Windows=>Workbench Screen=>Pens).


Quote:
... optimizations should give it a nice boost ...
Please, tell me if it does. Use "OpenWin.rexx" from daxb for benchmarks. Thx.

Last edited by PeterK; 10 August 2014 at 03:39.
PeterK is online now  
Old 10 August 2014, 21:57   #972
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 682
Would it be hard to make it work with KS2.0? I have one A2000 with GVP accelerator wich doesn't like KS3.1
utri007 is offline  
Old 10 August 2014, 22:09   #973
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
No sorry, that's nearly impossible since there are lots of functions missing in KS 2.x. You can find the differences in the Amiga autodocs showing the library versions when a function was introduced to the operating system. KS 3.0 has many new key features that did not exist before. Most important are the functions of the graphics.library v39+.
Code:
*--- functions in V39 or higher (Release 3) ---
SetRGB32(vp,n,r,g,b)(a0,d0/d1/d2/d3)
GetAPen(rp)(a0)
GetBPen(rp)(a0)
GetDrMd(rp)(a0)
GetOutlinePen(rp)(a0)
LoadRGB32(vp,table)(a0/a1)
SetABPenDrMd(rp,apen,bpen,drawmode)(a1,d0/d1/d2)
GetRGB32(cm,firstcolor,ncolors,table)(a0,d0/d1/a1)
AllocBitMap(sizex,sizey,depth,flags,friend_bitmap)(d0/d1/d2/d3/a0)
FreeBitMap(bm)(a0)
ReleasePen(cm,n)(a0,d0)
GetBitMapAttr(bm,attrnum)(a0,d1)

Last edited by PeterK; 10 August 2014 at 22:24.
PeterK is online now  
Old 11 August 2014, 18:18   #974
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 627
Quote:
Originally Posted by utri007 View Post
Would it be hard to make it work with KS2.0? I have one A2000 with GVP accelerator wich doesn't like KS3.1
If 3.1 is a problems, you can always go 3.0. GVPs usually worked with that.
Michael is offline  
Old 18 August 2014, 22:01   #975
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 627
Another silent update on Aminet
Michael is offline  
Old 22 August 2014, 18:52   #976
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
Update to icon.library 46.4.375:

Just some more cleanup and rearrangement in the zlib decoder. A few bytes less, but probably no speed gain. Tell me if anything is broken now. Thanks !
PeterK is online now  
Old 27 August 2014, 10:52   #977
arti040
Piotr

 
Join Date: Jul 2013
Location: Lodz/Poland
Age: 34
Posts: 149
Send a message via Skype™ to arti040
I don't know if it's a good place to mention that or if someone report it already. If yes, I'm sorry. Yesterday I did some tests using the latest available intuition.library (v. 40.86) and icon.library (v. 46.4) and all is OK on my A4k with P96/Voodoo3 (OS 3.9) but on my Amiga 1200/AGA (OS 3.1) system boots, but right after Wb is loaded pointer is permanently busy and nothing works.

Also, I have no contact to Cosmos, so if someone would be so kind and report that, it'd be great
arti040 is offline  
Old 27 August 2014, 12:48   #978
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 1,817
@arti040
http://leblogdecosmos.blogspot.fr/p/coding.html

http://www.amiga.org/forums/showthread.php?t=67146

Try to use just one of these libraries at a time.



Update to icon.library 46.4.376:

Some tweaks in the color reduction for PNG and OS4 icons. This gives a little more speed (maybe 8-10 % faster icon loading).
PeterK is online now  
Old 27 August 2014, 16:00   #979
HanSolo
Registered User

 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 151
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.376:

Some tweaks in the color reduction for PNG and OS4 icons. This gives a little more speed (maybe 8-10 % faster icon loading).
where is it ? on aminet there is older version
HanSolo is offline  
Old 27 August 2014, 16:20   #980
mfilos
Paranoid Amigoid

mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 39
Posts: 1,576
Send a message via Skype™ to mfilos
At the start of the thread mate.
By the way it works really well. Haven't tested on my real Amiga yet though to check icon speed :P
mfilos is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 6 03 December 2012 13:47
WB library conflict/versions Akira support.Apps 3 22 July 2010 19:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 05:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 16:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 02:58

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 19:08.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Page generated in 0.24810 seconds with 12 queries