framebuffer things

This commit is contained in:
Dylan Smith
2026-01-15 16:49:53 -05:00
parent c77baa9724
commit 6711b5dcc1
7 changed files with 67 additions and 19 deletions

View File

@@ -34,6 +34,9 @@ typedef rgb888_pixel_t pixel_t;
(((r & 0xFF) << 16) | ((g & 0xFF) << 8) | (b & 0xFF))
#endif // PIXEL_FORMAT_888
extern volatile pixel_t framebuffer[DISPLAY_HEIGHT * DISPLAY_WIDTH];
extern volatile pixel_t *current_framebuffer;
extern volatile pixel_t *next_framebuffer;
void swap_framebuffers(void);
#endif