| Home
| Previous
| Next
| Up

MGL_modeFlagsType

Declaration

typedef enum {
MGL_HAVE_LINEAR = 0x00000001,
MGL_HAVE_REFRESH_CTRL = 0x00000002,
MGL_HAVE_INTERLACED = 0x00000004,
MGL_HAVE_DOUBLE_SCAN = 0x00000008,
MGL_HAVE_TRIPLEBUFFER = 0x00000010,
MGL_HAVE_STEREO = 0x00000020,
MGL_HAVE_STEREO_DUAL = 0x00000040,
MGL_HAVE_STEREO_HWSYNC = 0x00000080,
MGL_HAVE_STEREO_EVCSYNC = 0x00000100,
MGL_HAVE_HWCURSOR = 0x00000200,
MGL_HAVE_ACCEL_2D = 0x00000400,
MGL_HAVE_ACCEL_3D = 0x00000800,
MGL_HAVE_ACCEL_VIDEO = 0x00001000,
MGL_HAVE_VIDEO_XINTERP = 0x00002000,
MGL_HAVE_VIDEO_YINTERP = 0x00004000,
MGL_IS_COLOR_INDEX = 0x00008000
} MGL_modeFlagsType

Prototype In

mgraph.h

Description

Defines the flags returned by the MGL_modeFlags functions. This function allows you to enumerate and detect support for different types of hardware features for a specific graphics mode after calling MGL_detectGraph, but before you actually initialize the desired mode. This will allow your application to search for fullscreen graphics modes that have the features that you desire (such as 2D or 3D acceleration).

Members

MGL_HAVE_LINEAR | Graphics mode supports a hardware linear framebuffer.
MGL_HAVE_REFRESH_CTRL | Graphics mode supports refresh rate control, allowing you to increase the refresh rate to a desired value (such as high refresh rates for stereo LC shutter glasses support).
MGL_HAVE_INTERLACED | Graphics mode supports interlaced operation, and you can request and interlaced mode via the refresh rate control mechanism in the MGL.
MGL_HAVE_DOUBLE_SCAN | Graphics mode supports double scan operation.
MGL_HAVE_TRIPLEBUFFER | Graphics mode supports hardware triple buffering, allowing your application to use true triple buffering without any visible flickering.
MGL_HAVE_STEREO | Graphics mode supports hardware stereo page flipping, providing hardware support for stereo LC shutter glasses.
MGL_HAVE_STEREO_DUAL | Graphics mode supports hardware stereo page flipping, with dual display start addresses.
MGL_HAVE_STEREO_HWSYNC | Graphics mode provides hardware stereo sync support via an external connector for stereo LC shutter glasses.
MGL_HAVE_STEREO_EVCSYNC | Graphics mode provides support for the EVC stereo connector. If this bit is set, the above bit will also be set.
MGL_HAVE_HWCURSOR | Graphics mode supports a hardware cursor.
MGL_HAVE_ACCEL_2D | Graphics mode supports 2D hardware acceleration. 2D acceleration may be provided either by WinDirect and a VESA VBE/AF driver, or via DirectDraw.
MGL_HAVE_ACCEL_3D | Graphics mode supports 3D hardware acceleration. Hardware 3D acceleration is always provided in the form of an OpenGL hardware driver of some form.
MGL_HAVE_ACCEL_VIDEO | Graphics mode supports hardware video acceleration, either via WinDirect and a VESA VBE/AF driver, or via DirectDraw.
MGL_HAVE_VIDEO_XINTERP | Graphics mode supports hardware video with interpolation along the X axis.
MGL_HAVE_VIDEO_YINTERP | Graphics mode supports hardware video with interpolation along the Y axis.
MGL_IS_COLOR_INDEX | Indicates that the mode is a color index mode

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com