Extract current video_buffer to frame_buffer

The current video buffer only stores one pending frame.

In order to add a new buffering feature, move this part to a separate
"frame buffer". Keep the video_buffer, which currently delegates all its
calls to the frame_buffer.
This commit is contained in:
Romain Vimont
2021-07-04 12:39:03 +02:00
parent b9a7bd049d
commit e0fc1b80d2
5 changed files with 139 additions and 80 deletions

View File

@@ -10,6 +10,7 @@ src = [
'src/event_converter.c',
'src/file_handler.c',
'src/fps_counter.c',
'src/frame_buffer.c',
'src/input_manager.c',
'src/opengl.c',
'src/receiver.c',