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 #4070 is a reply to message #4067] Wed, 19 July 2006 11:18 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Wed, 19 July 2006 05:01

OK, I have tested on my SisGX/Sempron1.8 notebook and while the difference is small, I must say there is difference...


Good I'm not alone Wink
Quote:


Means back to development.... Now I am thinking about some sort of more simple approach to the old problem.... In fact, the real trouble of all this is "sibling Ctrl intersection". That makes all the trouble, if I want really correct algorithm. Anyway, at the same time it is not very often corner case.
So my next idea is to detect this problem and perform non-buffered draw just for ctrls that do not have this problem. Also, maybe we could detect and handle unbuffered just Ctrls that are "big" (say bigger that 200x200 pixels).


Could you describe the problem of sibling ctrl intersections more? (if you have time, I would like to think about solution too Smile )
As for unbuffered draw this is some kind of idea. I would also add to this ability to set by hand if control is or isn't double buffered.
Quote:


As for GridCtrl scrolling problem, I think I know where to look and I think it is in CtrlDraw.cpp Smile, but sample code would help, if possible..... (upload to ftp, please).


I will upload it today evenig - no problem.
 
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 00:15:28 CEST 2025

Total time taken to generate the page: 0.03988 seconds