WARNING! TESTED ONLY ON PPC!!!! TEST IT ON x86 PLEASE!
commit89d0713082f18943c556a9190e074aca40de3992
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 28 Apr 2009 21:28:33 +0000 (28 21:28 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 28 Apr 2009 21:28:33 +0000 (28 21:28 +0000)
treea83ebf1780f2f0c0ce3f64375e7905aef84a3ea8
parent1fef84dbaa0e21179718c7fc025ebec506575fdd
WARNING! TESTED ONLY ON PPC!!!! TEST IT ON x86 PLEASE!

The radeon driver uses now it's own implementation of PutAlphaImage method, for both of- and onscreen bitmaps. It tries to reduce VRAM access by use of following rules:

1. If src alpha = 0, then no vram access occurs for the pixel
2. If src alpha = 255, then no vram read access occurs, as the destination pixel
   does not matter. Only vram write takes place.
3. If src alpha = 1..254, both vram read and vram write take place.

With this modifications the decoration drawing routines are approximately ten times faster (at least on Efika) than before. Same applies for icon drawing routines.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31158 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/common/hidd.radeon/ati_bitmap.c
arch/common/hidd.radeon/radeon.conf