Hi, one final update on VDPAU support, now with multi app core.
Seems to work flawlessly as far as it's tested. Software fallbacks also work. GetBits/PutBits requests are done on shared memory buffers when delegated to the master process. Acceleration also uses fusion_call_execute2(), one for each draw/blit. Here's the output of df_dok as master (direct calls to VDPAU): Benchmarking 256x256 on 852x464 ARGB (32bit)... Anti-aliased Text 1.024 secs (* 87.890 KChars/sec) [100.9%] Anti-aliased Text (blend) 1.030 secs (* 87.378 KChars/sec) [100.9%] Fill Rectangle 1.011 secs (*1043.649 MPixel/sec) [100.9%] Fill Rectangle (blend) 1.009 secs (*1039.222 MPixel/sec) [101.0%] Fill Rectangles [10] 1.054 secs (*1057.032 MPixel/sec) [101.9%] Fill Rectangles [10] (blend) 1.009 secs (*1039.222 MPixel/sec) [103.0%] Fill Triangles 1.004 secs ( 9.791 MPixel/sec) [106.0%] Fill Triangles (blend) 1.011 secs ( 9.723 MPixel/sec) [106.9%] Draw Rectangle 1.003 secs ( 18.344 KRects/sec) [101.0%] Draw Rectangle (blend) 1.002 secs ( 18.263 KRects/sec) [100.0%] Draw Lines [10] 1.000 secs ( 1312.000 KLines/sec) [ 99.0%] Draw Lines [10] (blend) 1.000 secs ( 394.000 KLines/sec) [100.0%] Fill Spans 1.036 secs (* 18.977 MPixel/sec) [101.9%] Fill Spans (blend) 1.029 secs (* 19.106 MPixel/sec) [102.9%] Fill Trapezoids [10] 1.020 secs ( 2634.290 MPixel/sec) [ 99.0%] Blit 1.018 secs (* 482.829 MPixel/sec) [100.9%] Blit 180 1.001 secs ( 1165.375 MPixel/sec) [100.0%] Blit colorkeyed 1.001 secs ( 1021.340 MPixel/sec) [100.0%] Blit destination colorkeyed 1.004 secs ( 1338.135 MPixel/sec) [100.0%] Blit with format conversion 1.000 secs ( 190.054 MPixel/sec) [ 99.0%] Blit with colorizing 1.016 secs (* 483.779 MPixel/sec) [100.9%] Blit from 32bit (blend) 1.023 secs (* 480.469 MPixel/sec) [100.9%] Blit from 32bit (blend) with colorizing 1.015 secs (* 484.256 MPixel/sec) [100.9%] Blit SrcOver (premultiplied source) 1.015 secs (* 490.712 MPixel/sec) [100.0%] Blit SrcOver (premultiply source) 1.009 secs ( 428.679 MPixel/sec) [100.0%] Stretch Blit 1.018 secs (* 503.916 MPixel/sec) [100.9%] Stretch Blit colorkeyed 1.000 secs ( 566.231 MPixel/sec) [ 99.0%] Here's the output of df_dok as slave (delegated calls to VDPAU via fusion_call_execute2): Benchmarking 256x256 on 852x464 ARGB (32bit)... Anti-aliased Text 4.605 secs (* 85.211 KChars/sec) [ 20.4%] Anti-aliased Text (blend) 4.617 secs (* 84.990 KChars/sec) [ 20.6%] Fill Rectangle 8.312 secs (*1045.485 MPixel/sec) [ 12.0%] Fill Rectangle (blend) 7.130 secs (*1045.083 MPixel/sec) [ 13.8%] Fill Rectangles [10] 21.755 secs (*1057.372 MPixel/sec) [ 4.5%] Fill Rectangles [10] (blend) 21.893 secs (*1044.720 MPixel/sec) [ 4.5%] Fill Triangles 5.827 secs ( 9.559 MPixel/sec) [ 16.4%] Fill Triangles (blend) 5.857 secs ( 9.510 MPixel/sec) [ 16.5%] Draw Rectangle 3.778 secs ( 18.343 KRects/sec) [ 25.4%] Draw Rectangle (blend) 3.692 secs ( 18.147 KRects/sec) [ 25.2%] Draw Lines [10] 1.000 secs ( 1303.000 KLines/sec) [100.0%] Draw Lines [10] (blend) 1.001 secs ( 389.610 KLines/sec) [103.0%] Fill Spans 5.675 secs (* 18.477 MPixel/sec) [ 16.4%] Fill Spans (blend) 5.325 secs (* 18.460 MPixel/sec) [ 17.8%] Fill Trapezoids [10] 1.010 secs ( 2595.485 MPixel/sec) [103.9%] Blit 12.017 secs (* 484.825 MPixel/sec) [ 7.9%] Blit 180 1.004 secs ( 1168.420 MPixel/sec) [ 99.0%] Blit colorkeyed 1.003 secs ( 1012.769 MPixel/sec) [103.0%] Blit destination colorkeyed 1.004 secs ( 1325.080 MPixel/sec) [104.0%] Blit with format conversion 1.011 secs ( 187.986 MPixel/sec) [101.9%] Blit with colorizing 11.302 secs (* 484.764 MPixel/sec) [ 8.0%] Blit from 32bit (blend) 11.339 secs (* 484.916 MPixel/sec) [ 8.8%] Blit from 32bit (blend) with colorizing 11.418 secs (* 484.431 MPixel/sec) [ 8.6%] Blit SrcOver (premultiplied source) 10.925 secs (* 494.294 MPixel/sec) [ 9.0%] Blit SrcOver (premultiply source) 1.002 secs ( 425.133 MPixel/sec) [101.0%] Stretch Blit 16.389 secs (* 509.299 MPixel/sec) [ 5.9%] Stretch Blit colorkeyed 1.001 secs ( 560.013 MPixel/sec) [100.0%] The CPU load does not include the master process in this case! This code requires version 8.3 of the linux-fusion kernel module. Single app build is not working, but will be fixed shortly. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev