4 ms·
Back in the day we used to call that "double buffering". The common Amiga implementation was especially neat. There, the video buffer was (almost) any chunk of
by btbuildem 5y ago
Back in the day we used to call that "double buffering".
The common Amiga implementation was especially neat. There, the video buffer was (almost) any chunk of memory you pointed the "screen" at. You could pre-render a number of complex frames, and have a high-FPS animation by moving the buffer pointer.
And yes, you could look at your own code executing in realtime. But I digress.
- glass_of_water 5y agoFrom my understanding, OffscreenCanvas and double buffering are unrelated. OffscreenCanvas just lets you execute draw calls in a separate thread (in a WebWorker). I believe the browser already uses double buffering under the hood for drawing to a canvas element.