Code adapted for monochrome 1bpp displays

This commit is contained in:
2026-04-03 18:11:08 -03:00
parent be4abb9289
commit 22a100bee1
2 changed files with 80 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
// linux_fb_display.h — GfxCanvas subclass for Linux framebuffer devices.
//
// Supports XRGB8888 (32 bpp), RGB565 (16 bpp), and 8-bit grayscale.
// Supports XRGB8888 (32 bpp), RGB565 (16 bpp), 8-bit grayscale, and 1 bpp (SSD1306).
// Uses mmap for zero-copy access to the kernel framebuffer.
#ifndef LINUX_FB_DISPLAY_H