zlgopen / awtk-linux-fb

awtk port for linux framebuffer
110 stars 49 forks source link

类mono_lcd适配 #86

Open zxc3489 opened 2 years ago

zxc3489 commented 2 years ago

你好,我最近遇到一个驱动,没有提供fb和drm的标准接口,只提供了一个flush接口,有点类似于mono_lcd,但是每个像素点又有3个字节(rgb),这种驱动应该如何适配呢

xianjimli commented 2 years ago

参考一下:https://github.com/zlgopen/awtk-linux-fb/blob/master/awtk-port/lcd_linux/lcd_mem_others.c