Re: Enabling Hardware acceleration in existing framebuffer driver
From: Krzysztof Helt <hidden>
Date: 2008-07-04 16:18:16
On Fri, 04 Jul 2008 11:56:02 -0400 Keith Williams [off-list ref] wrote:
Hi, all,
The '506 does have some 2D hardware acceleration capabilities. Last night I wrote a fillrect routine as an initial test of how much performance improvement I could potentially see from enabling acceleration. However, neither DirectFB nor fbset is picking up on the enabled acceleration. I'm not sure if there is something more that I need to do.
The fillrect acceleration is probably used but rarely. One sure way to trigger it is to issue the "clear" command on the frame buffer console. Try "time clear" on a big resolution screen with and without your change. You should see a difference from few to few tens times in speed. The more useful is both the copyarea and imageblit acceleration. Both are used during console scrolling (the imageblit is preferred but on some cards the copyarea is faster). I don't know about the DirectFB so I cannot comment. Regards, Krzysztof ---------------------------------------------------------------------- Nie ma jak Hold'em. Zagraj w pokera! Kliknij >>> http://link.interia.pl/f1e68 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08