On Fri, 2002-01-18 at 00:04, Adam Agnew wrote:
>
> I'm surprised to see how much a Pentium2 300Mhz MMX on a Matrox G550
> spanks my Voodoo3 3500 on a dual AMD 1800+ XP. This makes it quite obvious
> that we're really depending heavily on hardware acceleration especially
> for all things alpha channel :P So, two questions:
> 1) Are there any speed ups for software based rendering that can be done
> but have not yet been implemented? The project I'm working on depends
> heavily on alpha channels so I'd be very interested in any software speed
> ups we can get. and
> 2) Are the alpha-channel hardware speed ups dependant on some kind of
> hardware feature? I know some recent cards have made a big woopdie-doo
> about anti-aliasing in games. Are these features DirectFB is tapping into?
I was surprised at the numbers you people posted and realized what a
lousy chipset the i810 is :). Still, your benchmarks for the software
rasterizer is disproportionately slow for your system. Maybe you have a
bandwidth problem. MTRR perhaps.
Which leaves me to this question:
For chipsets where bandwidth is actually much better than chipset
speed, occasionally the software rasterizer is faster than the
equivalent accel functions. Especially for draw rect and
draw_triangle. To draw spanlines, directfb uses FillRect, if accel
function is present, otherwise, the rasterizer is used.to draw a
SpanLine. FillRect if used to draw small number of pixels is just too
slow for the i810, and I would prefer the software to write directly to
the framebuffer rather than use FillRect for it. Can I have a choice?
I hope I'm not asking too much.
Anyway, I'll join the fray and post my benchmarks. Don't laugh :)
PIII 650 PC100 Intel 810
(*) Single Application Core. (with MMX support)
(*) DirectFB/InputDevice: Keyboard Driver 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: PS/2 Mouse Driver 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: Intel 810/810E/810-DC100/815 0.1 (convergence integrated
media GmbH)
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) DirectFB/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
----------------------- DirectFB v0.9.8 ---------------------
(c)2000-2001 convergence integrated media GmbH
-----------------------------------------------------------
Benchmarking with 256x256 in 16bit mode... (16bit)
Anti-aliased Text 3.01 secs ( 68.26 KChars/sec)
Fill Rectangles 3.02 secs ( 525.33 MPixel/sec)
Fill Rectangles (blend) 3.71 secs ( 8.84 MPixel/sec)
Fill Triangles 3.02 secs ( 151.65 MPixel/sec)
Fill Triangles (blend) 3.07 secs ( 8.53 MPixel/sec)
Draw Rectangles 3.12 secs ( 16.05 MPixel/sec)
Draw Rectangles (blend) 3.01 secs ( 1.66 MPixel/sec)
Draw Lines 3.00 secs ( 13.98 MPixel/sec)
Draw Lines (blend) 3.05 secs ( 1.17 MPixel/sec)
Blit 3.05 secs ( 167.82 MPixel/sec)
Blit colorkeyed 3.01 secs ( 174.07 MPixel/sec)
Blit with format conversion 3.08 secs ( 25.53 MPixel/sec)
Blit from 32bit (alphachannel blend) 4.01 secs ( 6.54 MPixel/sec)
Stretch Blit 3.00 secs ( 105.98 MPixel/sec)
(*) Single Application Core. (with MMX support)
(*) DirectFB/InputDevice: Keyboard Driver 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: PS/2 Mouse Driver 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: MMX Software Rasterizer 0.5 (convergence integrated media
GmbH)
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) DirectFB/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
----------------------- DirectFB v0.9.8 ---------------------
(c)2000-2001 convergence integrated media GmbH
-----------------------------------------------------------
Benchmarking with 256x256 in 16bit mode... (16bit)
Anti-aliased Text 3.03 secs ( 70.03 KChars/sec)
Fill Rectangles 3.01 secs ( 226.14 MPixel/sec)
Fill Rectangles (blend) 3.71 secs ( 8.83 MPixel/sec)
Fill Triangles 3.01 secs ( 210.11 MPixel/sec)
Fill Triangles (blend) 3.08 secs ( 8.52 MPixel/sec)
Draw Rectangles 3.00 secs ( 28.17 MPixel/sec)
Draw Rectangles (blend) 3.04 secs ( 1.68 MPixel/sec)
Draw Lines 3.00 secs ( 14.61 MPixel/sec)
Draw Lines (blend) 3.04 secs ( 1.17 MPixel/sec)
Blit 3.03 secs ( 32.49 MPixel/sec)
Blit colorkeyed 3.02 secs ( 132.33 MPixel/sec)
Blit with format conversion 3.22 secs ( 26.44 MPixel/sec)
Blit from 32bit (alphachannel blend) 3.93 secs ( 6.67 MPixel/sec)
Stretch Blit 3.00 secs ( 107.65 MPixel/sec)
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.