ddxAddPixmapFormat(D3nfb)
ddxAddPixmapFormat --
add new pixmap format to screenInfo structure
Synopsis
Bool
ddxAddPixmapFormat(int depth, int bpp, int pad)
Description
ddxAddPixmapFormat( )
adds a new pixmap format to the
ddxScreenInfo(D4nfb)
structure,
after verifying that the new pixmap does not match
an existing pixmap.
Arguments
depth
-
depth of the format
bpp
-
bits per pixel
pad
-
padding
Exit codes
ddxAddPixmapFormat( )
returns TRUE if the format is successfully added.
It returns FALSE if you attempt to create
more than MAXFORMATS (currently defined as 8)
or if your pixmap format partially matches
an existing format.
Usage notes
This should be called by every ddx layer.
NFB drivers call it as part of their
xxxSetup routine
to initialize the information needed by the X server
before the adapter hardware is initialized.
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Source files
Routine source-
./hw/sco/dyddx/ddxOutput.c
Driver source file-
xxxInit.c
References
ddxScreenInfo(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005