Hi,
when working with some LCDs (such as SSD1306 or Sharp Memory LCD) via the LCD 
driver interface, the putrun() method greatly limits the speed at which you can 
update the screen, since it imposes one I2C/SPI transfer per putrun(). This 
type of graphical LCDs typically support sending a transfer composed of many 
rows of data simultaneously. This is of course much faster.

I would like to know what do you think of extending the LCD interface to 
support sending mutiple rows at once. In other words, besides putrun(), there 
could be a putrows() which allows sending an arbitrary number of rows (from 1 
to display rows). This interface could be optionally implemented by the driver 
(if not, it would signal the device does not support this). Alternatively, the 
driver can implement this using multiple putrun() calls, if desired.

I believe this would also improve the performance of the framebuffer-LCD 
bridge, since it could be more efficiently be updated than instead of calling 
putrun() multiple times.

What do you think?

Best,
Matias

Reply via email to