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-06-26 15:11:48 +02:00
parent 7917dc313e
commit 86c4cbcf9e
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',