mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-23 17:32:30 +02:00
[QP] Minor cleanup and support for RGB888 surface (#25706)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
co-authored by
Drashna Jaelre
parent
8f86f9794e
commit
0550830909
@@ -534,6 +534,8 @@ QUANTUM_PAINTER_DRIVERS += surface
|
||||
Creating a surface in firmware can then be done with the following APIs:
|
||||
|
||||
```c
|
||||
// 24bpp RGB888 surface:
|
||||
painter_device_t qp_make_rgb888_surface(uint16_t panel_width, uint16_t panel_height, void *buffer);
|
||||
// 16bpp RGB565 surface:
|
||||
painter_device_t qp_make_rgb565_surface(uint16_t panel_width, uint16_t panel_height, void *buffer);
|
||||
// 1bpp monochrome surface:
|
||||
|
||||
Reference in New Issue
Block a user