Double Buffering: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
Line 288: Line 288:


I've used some sort of loop here (it looks like a game loop), but remember that most GUI's on OS' do not work with game loops, they usually work with some sort of invalidation system. Meaning a control is redrawn only if it is invalidated, which happens on occassions such as moving or resizing the control.
I've used some sort of loop here (it looks like a game loop), but remember that most GUI's on OS' do not work with game loops, they usually work with some sort of invalidation system. Meaning a control is redrawn only if it is invalidated, which happens on occassions such as moving or resizing the control.

== What Else ==
==== Triple Buffering ====
As if it wasn't enough, there is also triple buffering. But as this article is not about that subject, it's not explained here. Triple buffering works through the same principle as double buffering but has a few other advantages and disadvantages.

[[Category:Video]]
[[Category:Graphical UI]]