zlgopen / awtk-linux-fb

awtk port for linux framebuffer
110 stars 49 forks source link

如何获取 fb 的fd ? #20

Closed V1ki closed 5 years ago

V1ki commented 5 years ago

我需要基于海思的HIFB再设置一些相关信息.所以需要fb的FD,不知道有没有便捷的方法来获取FD.

xianjimli commented 5 years ago

只能通过全局变量了,请参考:awtk-port/lcd_linux_fb.c

V1ki commented 5 years ago

好的.非常感谢.