fast framebuffer access
Hey folks,
What is the preferred way to quickly read and write to the framebuffer? What I've done is mmap'ing it to a data buffer and then performing operations on potions of it as if it were an array, using memcpy and memcmp. This takes ages though, compared to accessing other parts of memory, which leads me to think that I'm doing it wrong. Any suggestions?
Thanks,
Nathan
|