TSDL_VideoInfo

Name

TSDL_VideoInfo -- Video Target information

Structure Definition

 TSDL_VideoInfo = record
hw_available: Uint32; // Flag:Uint32 Can you create hardware surfaces?
wm_available: Uint32; // Flag:Uint32 Can you talk to a window manager?
UnusedBits1: Uint32;
UnusedBits2: Uint32;
blit_hw: Uint32; // Flag:Uint32 Accelerated blits HW --> HW
blit_hw_CC: Uint32; // Flag:Uint32 Accelerated blits with Colorkey
blit_hw_A: Uint32; // Flag:Uint32 Accelerated blits with Alpha
blit_sw: Uint32; // Flag:Uint32 Accelerated blits SW --> HW
blit_sw_CC: Uint32; // Flag:Uint32 Accelerated blits with Colorkey
blit_sw_A: Uint32; // Flag:Uint32 Accelerated blits with Alpha
blit_fill: Uint32; // Flag:Uint32 Accelerated color fill
UnusedBits3: Uint32;
video_mem: UInt32; // The total amount of video memory (in K)
vfmt: PSDL_PixelFormat; // Value: The format of the video surface
end;

Structure Data

hw_available Is it possible to create hardware surfaces?
wm_available Is there a window manager available
blit_hw Are hardware to hardware blits accelerated?
blit_hw_CC Are hardware to hardware colorkey blits accelerated?
blit_hw_A Are hardware to hardware alpha blits accelerated?
blit_sw Are software to hardware blits accelerated?
blit_sw_CC Are software to hardware colorkey blits accelerated?
blit_sw_A Are software to hardware alpha blits accelerated?
blit_fill Are color fills accelerated?
video_mem Total amount of video memory in Kilobytes
vfmt Pixel format of the video device

Description

This (read-only) structure is returned by SDL_GetVideoInfo. It contains information on either the 'best' available mode (if called before SDL_SetVideoMode) or the current video mode.

See Also

TSDL_PixelFormat , SDL_GetVideoInfo