Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

devg-flat.so

Graphics driver for unaccelerated flat frame buffers

Syntax:

io-graphics -d flat [option[,option...]] ... &

Runs on:

x86, PowerPC, ARM, MIPS, SH

Options:

For the io-graphics options that can be used with this driver, see io-graphics. Options specific to this driver:

mem_opts=0xAAAAAAAA,0xSSSSSSSS[,PPPP]
For a non-PCI device, AAAAAAAA specifies the physical address of the frame buffer aperture. The SSSSSSSS variable specifies the size of the aperture in bytes. The (optional) PPPP variable specifies the stride of the aperture in bytes.
mem_opts=X[,PPPP]
For a PCI device, X specifies the device's PCI aperture (0-5) which maps to the frame buffer; the (optional) PPPP variable is the stride of the frame buffer in bytes.

Description:

The devg-flat.so driver provides unaccelerated flat support for frame buffers.

You can start the graphics subsystem specifying the physical address of the frame buffer (assumes the display mode is already set):

io-graphics -d flat xres=640,yres=480,bitpp=16,photon,\
mem_opts=0xAAAAAAAA,0xSSSSSSSS[PPPP] -pphoton

You can start the graphics subsystem specifying the PCI display device to attach to:

io-graphics -d flat vid=0xVVVV,did=0xDDDD,xres=640,yres=480,index=0,\
bitpp=16,photon,mem_opts=X[,PPPP] -pphoton

Files:

This driver needs the following at run time:

libffb.so
Software rasterization library.

See also:

crttrap, devgt-iographics, io-graphics