10 years ago.

Why double buffering?

EPD doesn't support fast refresh for animation, why do you use double buffering for EPD?

We can use single buffer, draw it in buffered canvas, then refresh the screen with buffer content. I think that's enough.

Question relating to:

A lib to handle a E-Paper display from Pervasive Displays. There is a interface board from Embedded Artists. The lib can handle graphic and text drawing and is using external …

1 Answer

10 years ago.

To draw on the display it first needs to draw the inverse of the last image. So for an operation it both needs the old and the new image.

Now personally I modified it for my project to use a single buffer to have more memory left: It first draws the inverse of the last image, and then it makes the new one and puts it in its buffer, and draws that one. But then you need to completely draw the new image between those two stages, which is not always preferred.