That's because DirectFB is drawing the background as well.
This is used for the mouse handling, which is drawing to the same surface.
Interestingly, setting the SetCooperativeMode to NORMAL does reappear the mouse but has the implicit consequence that a window is created - you are not blitting to the real primary surface, but primary is pointing to a window instead. You can turn this off by using ./substrate --dfb:layer-bg-none - this will nicely fade to white, but then your mouse handling is gone as well (mouse leaves a trail).

hth
Niels

Jérémy Morel wrote:
Hi ! My bad, looks like I forgot one file. Here is an updated version of the program. There are no more blue stripes since I changed the flags in the initialization, but I still get a weird half white / half beige background. And the performance issue is still there.

--
Jérémy



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to