Hi Lionel, Last year, when we switched our DFB driver set to 1.2.10 (with a custom systems driver that does not assume one wants a surface buffer automatically initialized since it might immediately be fully rendered on), I noticed several cases where uninitialized surface buffers were automatically flipped onto the display in both single and double/triple buffering and mentioned the fixes (http://mail.directfb.org/pipermail/directfb-dev/2009-September/005245.html and http://mail.directfb.org/pipermail/directfb-dev/2009-September/005235.html).
It may not address the issue you are experiencing when using SaWMan, but it might not hurt to try out. So, I have prepared a patch with those fixes applied to 1.4.3 that I will send in my next message. Regards, Timothy -- Timothy Strelchun CE Software Engineering Digital Home Group Intel Corporation The views expressed above are my own and not those of Intel >-----Original Message----- >From: directfb-dev-boun...@directfb.org >[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Lionel >Landwerlin >Sent: Tuesday, March 02, 2010 5:58 AM >To: Niels Roest >Cc: directfb-dev >Subject: Re: [directfb-dev] SaWMan: layer buffermode reconfiguration ? > >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-dev mailing list >directfb-dev@directfb.org >http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev