Discussion Locked

Java

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
what is double-buffering in animations do?

5 replies

by penguinone!

Let me see if my memory serves me correctly.

Double Buffering animations allow you to perform faster and cleaner animations. You basically put an image in the buffer that is shown on screen, and a second (next) image in a buffer (memory area) that is off screen, so that when you show the second area on screen, you aren't taking the time and CPU cycles to render the image. While the second buffer is being shown, you can update what will be on screen using the first buffer, and so on.

This discussion is closed to new replies.