Jump to content

how does double buffering work with windows forms for avoiding flickering


rhishi20
 Share

Recommended Posts

I have read somewhere that, when i enable double buffer property of windows form it will reduce the flickering of images or graphics. but i not able to understand how exactly double buffer works

please help me to understand it.

Link to comment
Share on other sites

Double buffering uses 2 frame buffers, a visible one and a hidden one. When a new frame is rendered it first gets rendered to the hidden frame. Once that is finished, it copies the rendered frame to the visible buffer. Doing that causes a smoother animation then if you have a single buffer where you render the frame.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...