Daniel Laird wrote:
I am having some issues with reloading DirectFB.

I have written an application that does the following:

DirectFBCreate

some directfb stuff

pDFB->Release(); //Release the main interface.

I then recreate DirectFB interface by calling DirectFBCreate again

DirectfbCreate();

more directfb stuff;

The problem is that when the application starts up it searches the gfxdrivers for my platform specific gfxdriver shared library.
It finds it, loads it and does the drawing I requested.

I then release the main interface.

I then create it again. However, it now searches the gfxdrivers directory and decides to not load my platform specific gfxdriver shared library and instead loads the Generic Software Rasterizer and this does not work in the same way.

I just tested it by simply adding a for loop to main() of dfbinfo.c
and it works as expected. The R200 driver is used each time, I even
tried running it as a master.

--
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to