DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing NFB graphical adapter drivers

Read an image from the frame buffer (ReadImage)

The X server occasionally must read the contents of the frame buffer. The ReadImage(D3nfb) driver function to read from the frame buffer is also in the file Image.c.

Unlike the DrawImage( ) routine, this routine does not require your hardware to deal with a planemask or alu. The driver must read the rectangle in the frame buffer specified by pbox. The contents of this rectangle must be copied into the memory pointed to by image. stride has the same meaning as when used by DrawImage(D3nfb).


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005