Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Should we double-buffer by default?
Re: Should we double-buffer by default? [message #4055 is a reply to message #4053] Tue, 18 July 2006 15:56 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Tue, 18 July 2006 09:23


Now reading Qt docs, since Qt4.0 they do doublebuffering as the only option. Should not we too? (OK, this whole message is for Daniel in the first place... Wink



Thank you Mirek Wink

Indeed, to answer if double-buffering should be used as default is not easy. Generaly idea is great and it solves many corner issues with painting.

The main problem with double-buffering is speed of drawing, which is depended mainly on graphics card and the screen resolution. Unofrtunately I always had feeling that apps that are working in full screen in double-buffering mode are less responsive (at least when win32 api (gdi) is used) than "classical" painted ones (even if cpu has 1ghz and modern gfx card like gf4 were used).

I will try your new code today evening and then I'll be able to say more. I think that we should make tests in apps working in maximized modes in resolutions 1024x768 and 1280x1024. In smaller windows there should not be any noticeable difference.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: let's discuss new Draw principles and problems...
Next Topic: A list of SQL dialects to support (eventually)..
Goto Forum:
  


Current Time: Mon Jun 09 08:38:24 CEST 2025

Total time taken to generate the page: 0.04561 seconds