Hey folks,
What's the preferred way to read a block of pixels from the screen? I'm
developing something like a remote desktop app, and I haven't found a whole
lot of documentation on this. Right now I'm opening the /dev/fb0 device and
accessing it by means of lseek/read, file descriptor style. This seems
reasonably fast but I feel there must be a better way. I tried the XShm
memory XLib extension but that was a little slower(and a booger to get
working right). I'd rather not have to go through X anyway. Any suggestions
on where to look? Speed and hardware independence are my two biggest
priorites.
On a slightly related note, when I was screwing with XShm, I got to know a
little about shared memory functions. Can I use these on the Linux
framebuffer instead of X?
Much grass,
Nathan
|