Platform SDK: DirectX

CONST_DDCAPS2FLAGS

The CONST_DDCAPS2FLAGS enumeration is used in the lCaps2, lNLVBCaps2, lSVBCaps2 members of the DDCAPS type to describe additional driver-specific capabilities.

Enum CONST_DDCAPS2FLAGS
    DDCAPS2_AUTOFLIPOVERLAY    =     8
    DDCAPS2_CANBOBHARDWARE     = 16384
    DDCAPS2_CANBOBINTERLEAVED  =    16
    DDCAPS2_CANBOBNONINTERLEAVED =  32
    DDCAPS2_CANCALIBRATEGAMMA  = 1048576
    DDCAPS2_CANDROPZ16BIT      =   256
    DDCAPS2_CANFLIPODDEVEN     =  8192
    DDCAPS2_CANMANAGETEXTURE   = 8388608
    DDCAPS2_CANRENDERWINDOWED  = 524288
    DDCAPS2_CERTIFIED          =     1
    DDCAPS2_COLORCONTROLOVERLAY =   64
    DDCAPS2_COLORCONTROLPRIMARY =  128
    DDCAPS2_COPYFOURCC         = 32768
    DDCAPS2_FLIPINTERVAL       = 2097152
    DDCAPS2_FLIPNOVSYNC        = 4194304
    DDCAPS2_NO2DDURING3DSCENE  =     2
    DDCAPS2_NONLOCALVIDMEM     =   512
    DDCAPS2_NONLOCALVIDMEMCAPS =  1024
    DDCAPS2_NOPAGELOCKREQUIRED =  2048
    DDCAPS2_PRIMARYGAMMA       = 131072
    DDCAPS2_STEREO             = 33554432
    DDCAPS2_VIDEOPORT          =     4
    DDCAPS2_WIDESURFACES       =  4096
End Enum
DDCAPS2_AUTOFLIPOVERLAY
The overlay can be automatically flipped to the next surface in the flip chain each time a video port VSYNC occurs, allowing the video port and the overlay to double-buffer the video without CPU overhead. This option is valid only when the surface is receiving data from a video port. If the video port data is noninterlaced or noninterleaved, it flips on every VSYNC. If the data is being interleaved in memory, it flips on every other VSYNC.
DDCAPS2_CANBOBHARDWARE
The overlay hardware can display each field of an interlaced video stream individually.
DDCAPS2_CANBOBINTERLEAVED
The overlay hardware can display each field of an interlaced video stream individually while it is interleaved in memory without causing any artifacts that might normally occur without special hardware support. This option is only valid when the surface is receiving data from a video port and the video is zoomed at least two times in the vertical direction.
DDCAPS2_CANBOBNONINTERLEAVED
The overlay hardware can display each field of an interlaced video stream individually while it is not interleaved in memory without causing any artifacts that might normally occur without special hardware support. This option is valid only when the surface is receiving data from a video port and the video is zoomed at least two times in the vertical direction.
DDCAPS2_CANCALIBRATEGAMMA
The system has a calibrator installed that can automatically adjust the gamma ramp so that the result is identical on all systems that have a calibrator. To invoke the calibrator when setting new gamma levels, use the DDSGR_CALIBRATE flag when calling the DirectDrawGammaControl.SetGammaRamp method. Calibrating gamma ramps incurs some processing overhead and should not be used frequently.
DDCAPS2_CANDROPZ16BIT
Sixteen-bit RGBZ values can be converted into 16-bit RGB values. (The system does not support 8-bit conversions.)
DDCAPS2_CANFLIPODDEVEN
The driver is capable of performing odd and even flip operations, as specified by the DDFLIP_ODD and DDFLIP_EVEN flags used with the DirectDrawSurface7.Flip method.
DDCAPS2_CANMANAGETEXTURE
The Microsoft® Direct3D® texture manager uses this capability to decide whether to put managed surfaces in nonlocal video memory. If the capability is set, the texture manager puts managed surfaces in nonlocal video memory. Drivers that cannot texture from local video memory should not set this capability.
DDCAPS2_CANRENDERWINDOWED
The driver is capable of rendering in windowed mode.
DDCAPS2_CERTIFIED
Display hardware is certified.
DDCAPS2_COLORCONTROLOVERLAY
The overlay surface contains color controls (such as brightness and sharpness)
DDCAPS2_COLORCONTROLPRIMARY
The primary surface contains color controls (for instance, gamma)
DDCAPS2_COPYFOURCC
The driver supports blitting any FOURCC surface to another surface of the same FOURCC.
DDCAPS2_FLIPINTERVAL
The driver responds to the DDFLIP_INTERVAL* flags. (see DirectDrawSurface7.Flip).
DDCAPS2_FLIPNOVSYNC
The driver responds to the DDFLIP_NOVSYNC flag (see DirectDrawSurface7.Flip).
DDCAPS2_NO2DDURING3DSCENE
Two-dimensional operations such as DirectDrawSurface7.Blt and DirectDrawSurface7.Lock cannot be performed on any surfaces that Direct3D is using between calls to the Direct3DDevice7.BeginScene and Direct3DDevice7.EndScene methods.
DDCAPS2_NONLOCALVIDMEM
The display driver supports surfaces in nonlocal video memory.
DDCAPS2_NONLOCALVIDMEMCAPS
Blit capabilities for nonlocal video-memory surfaces differ from local video memory surfaces. If this flag is present, the DDCAPS2_NONLOCALVIDMEM flag is also present.
DDCAPS2_NOPAGELOCKREQUIRED
DMA blit operations are supported on system-memory surfaces that are not page-locked.
DDCAPS2_PRIMARYGAMMA
Dynamic gamma ramps are supported for the primary surface. For more information, see Gamma and Color Controls.
DDCAPS2_STEREO
New for DirectX 7.0. Turns on the ddcaps.dwSVCaps bit to support stereo mode. The driver can do stereo in at least one mode other than the current mode. The application can use DirectDraw7.GetDisplayMode or DirectDraw7.GetDisplayModesEnum to get per-mode stereo information.
DDCAPS2_VIDEOPORT
Display hardware supports live video.
DDCAPS2_WIDESURFACES
The display surface supports surfaces wider than the primary surface.