DirectFB 1.0.1を ubuntu 8.04 (VMware上) で動かす:system=sdlubuntuには、libdirectfb-1.0-0 がすでに入っています。 ここでは DirectFB を tar ballからinstall しますが、 libdirectfb-1.0-0に依存するものがある場合、それらはどうなるかを確認していません。 試される場合はご自身の責任でお試しください。 VMwareの場合は試す前にスナップショットをとっておくのもよいかもしれません。 DirectFB 1.0.1を ubuntu 8.04 (VMware上) で動かす:system=x11でインストールした、 libfreetype6-dev libpng12-dev libjpeg62-dev libx11-dev libxext-dev に加えて、libsdl1.2-devを追加し、再度 DirectFB を configure ~ make install を実行。 ~/.directfbrc は、system=sdl
$ sudo apt-get install libsdl1.2-dev
$ ./configure
$ make
$ sudo make isntall
$ dfbinfo
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-04-20 17:31)
(*) Direct/Thread: Running 'SDL Input' (INPUT, 15848)...
(*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) Direct/Thread: Running 'Screen Update' (OUTPUT, 15849)...
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
Screen (00) SDL Primary Screen (primary screen)
Caps:
Layer (00) SDL Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE
Input (00) SDL Input (primary keyboard)
Type: KEYBOARD MOUSE JOYSTICK
Caps: KEYS AXES BUTTONS
Max. Axis: 0
Max. Button: 0
df_dok を実行。
$ df_dok
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-04-20 17:31)
(*) Direct/Thread: Running 'SDL Input' (INPUT, 15855)...
(*) DirectFB/Input: SDL Input 0.1 (Denis Oliver Kropp)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) Direct/Thread: Running 'Screen Update' (OUTPUT, 15856)...
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) Direct/Interface: Loaded 'GIF' implementation of 'IDirectFBImageProvider'.
Benchmarking with 256x256 in 16bit mode... (16bit)
Anti-aliased Text 3.000 secs ( 1401.600 KChars/sec)
Anti-aliased Text (blend) 3.001 secs ( 249.516 KChars/sec)
Fill Rectangle 3.001 secs ( 2581.257 MPixel/sec)
Fill Rectangle (blend) 3.021 secs ( 117.144 MPixel/sec)
Fill Rectangles [10] 3.023 secs ( 2644.853 MPixel/sec)
Fill Rectangles [10] (blend) 3.340 secs ( 117.729 MPixel/sec)
Fill Triangles 3.001 secs ( 1436.943 MPixel/sec)
Fill Triangles (blend) 3.020 secs ( 107.418 MPixel/sec)
Draw Rectangle 3.000 secs ( 126.933 KRects/sec)
Draw Rectangle (blend) 3.002 secs ( 27.315 KRects/sec)
Draw Lines [10] 3.002 secs ( 344.103 KLines/sec)
Draw Lines [10] (blend) 3.008 secs ( 80.452 KLines/sec)
Fill Spans 3.000 secs ( 1780.394 MPixel/sec)
Fill Spans (blend) 3.031 secs ( 114.596 MPixel/sec)
Blit 3.002 secs ( 1744.279 MPixel/sec)
Blit colorkeyed 3.010 secs ( 511.659 MPixel/sec)
Blit destination colorkeyed 3.003 secs ( 523.764 MPixel/sec)
Blit with format conversion 3.015 secs ( 210.845 MPixel/sec)
Blit with colorizing 3.017 secs ( 112.955 MPixel/sec)
Blit from 32bit (blend) 3.043 secs ( 148.602 MPixel/sec)
Blit from 32bit (blend) with colorizing 3.074 secs ( 61.826 MPixel/sec)
Stretch Blit 3.001 secs ( 625.212 MPixel/sec)
Stretch Blit colorkeyed 3.000 secs ( 473.839 MPixel/sec)
割とあっさり動いちゃいましたね。 うーん、しかしこの df_dok の結果、気になりますね。 Fill Rectangleとかずいぶん速くなったと思ったら、実は16bitになってるんですね。 塗りつぶすサイズが半分になるんでそれはそうですね。 blend は遅くなってるんですね。 なんで16bitになったんだろ? ちょっと気になりますね。 トップページへ |
鮫洲曙町会ホームページ |