wangtao13 commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5188815725

   > [@wangtao13](https://github.com/wangtao13) almost all drivers inside 
drivers/lcd are framebuffer drivers. I implemented some interesting drivers 
there that are not LCD but can work like LCD, for example the apa102.c is a RGB 
LED Matrix and max7219.c is a 1-bit LED Matrix that I added support as LCD 
driver. For all them you will find a priv->fb or priv->fbmem, that is the 
framebuffer area
   
   I am using Nuttx-12.13.0, and I did NOT get `fbmem` in drivers/lcd/apa102.c 
or drivers/lcd/max7219.c, :-(, but I really got `fbmem` in 
drivers/lcd/st7796.c. 
   So what `framebuffer` are you referring to, LCD_FRAMEBUFFER, or VIDEO_FB?
   I worked out a LCD_FRAMEBUFFER driver and called `fb_register(0)` during 
board initialization, but I found it is defined in `include/nuttx/video/fb.h` 
as `unused_code` as follows.
   ```
   static inline_function unused_code int fb_register(int display, int plane)
   {
   ...
   }
   ```
   I got alittle puzzled, what is the relation of LCD_FRAMEBUFFER and VIDEO_FB, 
and which one should I use to get the best performance for LCD display.
   
   Thanks,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to