How would I implement triple buffering? (https://en.wikipedia.org/wiki/Multip...iple_buffering)
From a bit of searching, I know that a framebuffer object can be used for a buffer.
Triple buffering implies that one back buffer is always being rendered to, and the other back buffer is done rendering.
I imagine (at least part of) the code looks something like:
Code :while true render to bufferA swap bufferA and bufferB
How does the swap with the front buffer happen? If you look at https://en.wikipedia.org/wiki/File:C..._buffering.svg , the copying (i.e. swap with front) happens at the same time asthe rendering. Is multithreading required?




