Le mardi 09 mars 2010 à 17:29 +0530, Shivakumar Mishra a écrit : > hi, > Each window has a surface with a single buffer. > You should flip window surface when you are done with drawing operation of > window surface
Right, without a flip, the dfb stack isn't aware that the window's area must be updated. So the screen is not updated until someone else asks for a refresh, which could create some incoherent display depending on the area to refresh. About the single buffer settings, there is 2 fields you can setup when creating a new window. In the DFBWindowDescription : 'caps' and 'surface_caps'. Make sure to set not set the DWCAPS_DOUBLEBUFFER flag in 'caps' field and to not set DSCAPS_DOUBLE and DSCAPS_TRIPLE in the 'surface_caps' field. > bye > shiva > > On Tue, Mar 2, 2010 at 5:46 AM, Anders Bakken > <anders.bak...@nokia.com> wrote: > I have two questions about IDirectFBWindows. > > If I have a single buffered window do I still need to call > Flip() to > make changes visible (I would expect not) > > How can I make single buffered windows? They seem to be > double-buffered > no matter what I do. Is this related to some layer > configuration > setting? > > (I am testing this with system=X11) > > regards > > -- > Qt Development Frameworks, Nokia, http://qt.nokia.com > Anders Bakken > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > -- > "The best way to find yourself is to lose yourself in the service of > others". > > Shiva The Great > _______________________________________________ > 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