It sounds as if such an option would be useful for you.

The unrefreshed zone sounds a bit scary. In principle is the screen redraw governed by the window manager, so you seeing similar behaviour for SaWMan and "default" is a bit unexpected. For SaWMan I can add that if you use the Window Manager callbacks you may need to add an update kick to redraw since SaWMan buffers the requests - however, the default WM does not have such a scheme.

I have never seen an issue as you describe. If you have a workable scenario to reproduce the issue I can have a look.

Greets
Niels

Lionel Landwerlin wrote:
Hi Niels,

thanks for the trick. After a few more investigation, I just patched
SaWMan to avoid it to change the buffermode of the layer.
Maybe this should be an option to use this optimization... My
framebuffer driver might be buggy to not be able to change the layer
mode without flicking... I don't know.
I also would like to add that I have seen some unrefreshed screen zone
when using windows and moving+scaling them over the screen. Are you
aware of such bugs in SaWMan (also seen it in the default window
manager) ?

Regards,

--
Lionel Landwerlin

On Tue, Mar 2, 2010 at 12:08 PM, Niels Roest <ni...@directfb.org> wrote:
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 - 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