Quoting Claudio Ciccani via CVS: > CVSROOT: /cvs/directfb > Module name: DirectFB > Changes by: klan 20050109 12:05:52 > > Modified files: > gfxdrivers/nvidia: nvidia.c nvidia.h nvidia_2d.c > > Log message: > Added basic support for drawing with alphablend on NV20. > Great performance improvements: it's possible to move a translucent window > at 32bpp while the cpu stays idle.
Hi, impressive ;) I can really move my DFBTerm around while CPU usage is at 0.4% ;) These are tests on my GeForce 256 (NV10) with an 1.33 GHz Thunderbird. Benchmarking with 256x256 in 16bit mode... (16bit) Anti-aliased Text 3.043 secs ( 36.674 KChars/sec) Anti-aliased Text (blend) 3.087 secs ( 26.822 KChars/sec) Fill Rectangles 3.012 secs (* 583.122 MPixel/sec) Fill Rectangles (blend) 3.007 secs (* 183.073 MPixel/sec) Fill Triangles 3.007 secs (* 521.977 MPixel/sec) Fill Triangles (blend) 3.004 secs (* 183.256 MPixel/sec) Draw Rectangles 3.002 secs (* 30.912 KRects/sec) Draw Rectangles (blend) 3.005 secs (* 16.539 KRects/sec) Draw Lines 3.007 secs (* 125.041 KLines/sec) Draw Lines (blend) 3.017 secs (* 46.735 KLines/sec) Fill Spans 3.003 secs (* 571.775 MPixel/sec) Fill Spans (blend) 3.052 secs (* 64.419 MPixel/sec) Blit 3.014 secs (* 358.773 MPixel/sec) Blit colorkeyed 3.036 secs ( 101.455 MPixel/sec) Blit destination colorkeyed 3.926 secs ( 3.338 MPixel/sec) Blit with format conversion 3.010 secs (* 180.713 MPixel/sec) Blit from 32bit (alphachannel blend) 3.050 secs (* 90.246 MPixel/sec) Stretch Blit 3.026 secs (* 366.580 MPixel/sec) Stretch Blit colorkeyed 3.167 secs ( 101.971 MPixel/sec) Why is "Blit from 32bit (alphachannel blend)" so slow? It's enough for the terminal window to move around at the speed/resolution of the mouse movements, but I thought it would be faster than a G200 at least. Are there any DirectX benchmarks that measure "Blit from 32bit (alphachannel blend)" without a lot 3D or other overhead? Simply the fill rate of 32 bit alpha blended single texturing. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------"
