Share via


EDDGPEPixelFormatToEGPEFormat (Windows Embedded CE 6.0)

1/6/2010

This conversion array converts from EDDGPEPixelFormat to EGPEFormat.

Syntax

const EGPEFormat
EDDGPEPixelFormatToEGPEFormat[] = {
  gpe1Bpp, 
  gpe2Bpp, 
  gpe4Bpp, 
  gpe8Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe24Bpp, 
  gpe32Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe16Bpp, 
  gpe24Bpp, 
  gpe32Bpp, 
  gpeUndefined
};

Remarks

Although DDGPE leaves many of the original GPE methods intact, DDGPE augments surface support by adding pixel format data type. Drivers that track only a single pixel format type for a particular surface or mode can use the EDDGPEPixelFormatToEGPEFormat data type to convert a pixel format type from DDGPE-style to GPE-style.

The conversion from a DDGPE pixel format to a GPE pixel format is a lossy one. GPE cannot realize all of the information about a surface that your driver or even DDGPE can. This loss of information might cause visually apparent problems when calling on GPE to perform certain types of emulated blits.

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

DDGPE Data Structures, Types, and Constants