Hi Lionel,
I have not looked in close detail, but SaWMan has an optimization to align the layer to the window if only one window is displayed - this holds for size and location. I think you are hitting this, but I don't know why it would go from double to single bufferend in that case. The switching behaviour can be prevented by having the SaWMan callback layer_reconfig() disallowing all changes (not returning DFB_OK).

Greets
Niels

Lionel Landwerlin wrote:
Hi all,

I'm playing a little bit with SaWMan these days, and I noticed a
strange flicking effect.
Here is my setup :
  - a 1280x720 layer double buffered at start
  - a 1280x720 window containing a main application
  - 2/3 300x200 windows acting as widgets on top of the main application window

When I destroy the 300x200 windows, and then I recreate one of them,
I'm noticing a
flickering effect of the whole screen. With a few investigation I
found that at this moment,
SaWMan reconfigure the layer to change its buffermode from double
buffered to single
buffered.

Any explanation ?

Regards,

--
Lionel Landwerlin
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev



--

.------------------------------------------.
| 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

Reply via email to