hi,
there is no better
my directfbrc:
pixelformat=ARGB1555
#desktop-buffer-mode=backsystem
desktop-buffer-mode=frontonly
no-cursor
pixelformat=RGB332
no-hardware
an the source:
primary->SetColor ( 0, 0, 0, 0xFF);
primary->SetDrawingFlags(DSDRAW_NOFX);
primary->FillRectangle( 0, 0, screen_width, screen_height);
primary->SetFont (font);
primary->SetColor ( 0xFF, 0xFF, 0xFF, 0xFF);
primary->DrawString ("Loading...", -1, 400, 300, DSTF_CENTER );
primary->Flip (NULL, DSFLIP_WAITFORSYNC);
---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
(*) Single Application Core. (2004-04-21 22:08)
(*) DirectFB/misc/memcpy: using ppcasm_memcpy()
(*) DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media
GmbH) (*) DirectFB/InputDevice: DBOX-2 FP IR 0.1 (convergence integrated
media GmbH) (*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated
media GmbH) (*) DirectFB/GraphicsDevice: CCube Avia eNX/GTX 0.3 (Thomas
Klamm)
(*) DirectFB/GraphicsDevice: acceleration disabled (by 'no-hardware')
(*) DirectFB/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
> If the problem is fixed by using the "no-hardware" option, the driver might
> pretend to accelerate font rendering, but in reality just copies the A8
> font data to the ARGB1555 surface.
>
> But if your application is using a flipping surface, it uses the software
> driver anyways, because the back buffer is stored in system memory due to
> the lack of a sane amount of video memory.
>
> It should be possible to increase the video memory size to 2 MB,
> that would allow you to use hardware accelerated Clear()s or
> FillRectangle() and real page flipping without copying any data.
>
> With "2<<20-720*576*2*2 = 438272" you also have some space for GUI elements
> like icons or sprites that are blitted in hardware ;)
>
> --
> Best regards,
> Denis Oliver Kropp
>
> .------------------------------------------.
>
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/ |
>
> "------------------------------------------"
>
> Convergence GmbH
-------------------------------------------------------
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.