daschl / ssd1327

A Rust display driver for the SSD1327
14 stars 6 forks source link

Is in-memory framebuffer required? #3

Closed cdata closed 3 years ago

cdata commented 3 years ago

I am very new to this level of hardware programming, so forgive me if this question seems ignorant:

The datasheet for the SSD1327 seems to imply that it has onboard GDDRAM. Doesn't this mean that keeping a separate framebuffer is overkill?

cdata commented 3 years ago

In the process of investigating upgrades to this driver, I answered my own question: a framebuffer is not strictly necessary, but the memory layout of the GDDRAM is 4bpp so if you don't retain a local framebuffer, you will clear a neighbor pixel when you write to the GDDRAM one single pixel at a time.