From: James S. <jam...@op...> - 2006-06-29 00:52:53
|
On Wed, 2006-06-28 at 18:08 -0600, Nathan King wrote: > 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. Can you mmap /dev/fb0? Regards, James. |