Not the website that stores photographs - this is the battle against flickering windows ...
The old way to fix window flickering was to use double buffering, this basically means that the text/images are drawn onto a picture (called a buffer) instead of to the screen, the flickering is removed because the Paint() function does not draw the new buffer, and instead draws the old buffer. The new buffer is drawn on the next frame and the old buffer is recycled so there is always an offscreen buffer ready to be drawn to. This technique is perfectly fine since humans are ok watching a 30 frame per second video game, or even a 24 frame per second DVD.
So I found an interesting way to combat the flickering of rapidly updating windows without actually writing a double buffer ...
http://wiki.wxwidgets.org/Flicker-Free_Drawing
No comments:
Post a Comment