Export (0) Print
Expand All

Display Driver Samples (Windows CE 5.0)

Windows CE 5.0
Send Feedback

Sample code for the sample drivers is in %_WINCEROOT%\Public\Common\OAK\Drivers\Display. For the sample display drivers, software acceleration is provided through emulation libraries, and hardware acceleration is limited to two-dimensional graphics operations.

The following table shows files to help you work with monolithic and GPE-based display drivers.

FileDescription
Winddi.hContains the core definitions for display and printer device drivers.

Use this file if you are creating a monolithic driver because it describes the entry points, data types, and symbolic constants you need to receive and process drawing requests from GWES.

This file also contains important definitions for you, if you are using GPE. Many GWES data structures propagate through the GPE layer into the GPE objects.

Emul.hDescribes the set of raster drawing helpers inside the raster emulation library.

Creating fast raster output is very important, because more than 95 percent of the pixels on a display screen are drawn using raster drawing calls.

The emulation library provides a reasonably good solution for drawing raster data in software. However, if your display device can perform drawing using accelerated hardware, consider using the hardware in place of the raster emulation library.

GPE.hContains the basic set of data structures and symbol definitions you need to use the GPE library.
GPE source filesContains GPE source files.

Located in %_WINCEROOT%\Public\Common\OAK\Drivers\Display.

The following table shows the features supported by the ATI and MQ200 display drivers.

ElementATIMQ200
Driver nameDdi_ragexl.dllDdi_mq200.dll
Environment variableBSP_DISPLAY_RAGEXLBSP_DISPLAY_MQ200
Path to source code%_WINCEROOT%\Public\Common\OAK\Drivers\Display\ATI%_WINCEROOT%\Public\Common\OAK\Drivers\Display\MQ200
Color supportYesYes
Bit depths16 bpp16 bpp
Display resolution640x480

720x480

800x600

1024x768

1280x1024

640x480

800x600

1024x768

1152x864

1280x1024

Software accelerationYesYes
Hardware accelerationYesYes
Line routinesSoftware and hardwareSoftware and hardware
Blit routinesSoftware and hardwareSoftware and hardware
Mouse cursorHardwareHardware
Antialiased text supportYesYes
Dirty rectangle driverNoNo
Hardware platform restrictions  

The following table shows the features supported by the Media GX and Media GX rotation-enabled display drivers.

ElementMedia GXMedia GX, rotation-enabled
Driver nameDdi_gx.dllDdi_rgx.dll
Environment variableBSP_DISPLAY_MEDIAGXBSP_DISPLAY_RMEDIAGX
Path to source code%_WINCEROOT%\Public\Common\OAK\CSP\I486\Geode\GXVIDEO%_WINCEROOT%\Public\Common\OAK\CSP\I486\Geode\GXVIDEO
Color supportYesYes
Bit depths16 bpp16 bpp
Display resolution640x480x60

640x480x72

640x480x75

640x480x85

800x600x60

800x600x72

800x600x75

800x600x85

1024x768x60

1024x768x70

1024x768x75

1024x768x85

1280x1024x60

1280x1024x75

1280x1024x85

720x480 NTSC

720x576 PAL

640x480x60

640x480x72

640x480x75

640x480x85

800x600x60

800x600x72

800x600x75

800x600x85

1024x768x60

1024x768x70

1024x768x75

1024x768x85

1280x1024x60

1280x1024x75

1280x1024x85

720x480 NTSC

720x576 PAL

Software accelerationYesYes
Hardware accelerationYesYes
Line routinesHardwareHardware
Blit routinesSoftwareSoftware
Mouse cursorHardwareHardware
Antialiased text supportYesYes
Dirty rectangle driverNoNo
Hardware platform restrictionsx86 Geodex86 Geode
Notes  

The following table shows the features supported by the VGA flat and VGA rotation-enabled.

ElementVGA flatVGA RFLAT
Driver nameDdi_flat.dllDdi_rflat.dll
Environment variableBSP_DISPLAY_FLATBSP_DISPLAY_FLAT
Path to source code%_WINCEROOT%\Public\Common\OAK\Drivers\Display\VGAFLAT%_WINCEROOT%\Public\Common\OAK\Drivers\Display\RFLAT
Color supportYesYes
Bit depths8, 16, 24, & 32 bpp8, 16, 24, & 32 bpp
Display resolutionNo restrictions aside from hardware limits and as supported by VESA BIOSNo restrictions aside from hardware limits and as supported by VESA BIOS.
Software accelerationYesYes
Hardware accelerationNoNo
Line routinesSoftwareSoftware
Blit routinesSoftwareSoftware
Mouse cursorSoftwareSoftware
Antialiased text supportYesYes
Dirty rectangle driverNoNo
Hardware platform restrictionsx86 onlyx86 only
NotesRequires VESA BIOS version 2.0 or later.

Run Vesatest.exe to verify compatibility and needed modes.

Requires VESA BIOS version 2.0 or later.

Run Vesatest.exe to verify compatibility and needed modes.

See Also

How to Decide Whether to Use GPE in a Display Driver | FLAT Sample Display Driver | ATI Sample Display Driver | ATI Sample Display Driver Optimization | Sample DrvEscape Function | Sample Blit Acceleration | Display Driver Performance Profiling | Display Driver Registry Settings | Display Driver Development Concepts | Display Driver Extensions | Display Driver Recommendations


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft