double buffering
Tags: computers
https://en.wikipedia.org/wiki/Multiple_buffering#Software_double_buffering
- Allocate two buffers
- Swap the two buffers once the back buffer is ready, saves you from doing any more allocations
- http://www.richelbilderbeek.nl/CppDoubleBuffering.htm
- https://www.khronos.org/opengl/wiki/Default_Framebuffer
- https://community.khronos.org/t/what-are-the-use-of-back-and-front-buffer/24646