Hacker News new | ask | show | jobs
by ethin 27 days ago
It foregoes reading, I suspect (but obviously don't know for certain), for the simple reason that (if I remember right) you usually don't ever want to "read" a framebuffer, because reading the framebuffer is asking the graphics device to give you the current value of one or more pixels, and that is way slower than it being rendered to some output device.
1 comments

In my implementation I store the FB in RAM and read it from there so the reads aren’t particularly slow. There are some controllers that allow read directly, which reduces RAM requirements, but is probably slower and less commonly supported. In my case, I wanted to support a lot of different devices so I set aside some RAM for the FB and then I only write to the display device.