Using the DIB Engine

There are two ways you can use the DIB engine with your display minidriver:

Display Operations

The DIB engine requires your display device to use a packed-pixel format. The screen bits must be stored in a single plane with each pixel having 1, 4, 8, 15 (a special case of 16), 16, 24, or 32 bits defining the pixel color. For Windows 95, most display devices will use this format, but if your device uses a planar format (where screen bits are stored in separate bitmap planes, one plane for each color), you cannot use the DIB engine and must write a full display device driver. Note that some planar devices can still use the DIB engine if their memory bitmaps use a packed-pixel format. In this case the device must translate between the packed-pixel format and the planar format.

Memory Operations

Even if your display adapter does not use a standard frame buffer, you can use the DIB engine for direct memory bitmap operations. For more information about direct memory bitmap operations using the DIB engine, see About the Device Independent Bitmap Engine.