Home | History | Annotate | Download | only in man3
"SDL_VideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
"NAME"
SDL_VideoInfo - Video Target information
"STRUCTURE DEFINITION"

typedef struct{
 Uint32 hw_available:1;
 Uint32 wm_available:1;
 Uint32 blit_hw:1;
 Uint32 blit_hw_CC:1;
 Uint32 blit_hw_A:1;
 Uint32 blit_sw:1;
 Uint32 blit_sw_CC:1;
 Uint32 blit_sw_A:1;
 Uint32 blit_fill;
 Uint32 video_mem;
 SDL_PixelFormat *vfmt;
} SDL_VideoInfo;

"STRUCTURE DATA"

20 hw_available Is it possible to create hardware surfaces?

20 wm_available Is there a window manager available

20 blit_hw Are hardware to hardware blits accelerated?

20 blit_hw_CC Are hardware to hardware colorkey blits accelerated?

20 blit_hw_A Are hardware to hardware alpha blits accelerated?

20 blit_sw Are software to hardware blits accelerated?

20 blit_sw_CC Are software to hardware colorkey blits accelerated?

20 blit_sw_A Are software to hardware alpha blits accelerated?

20 blit_fill Are color fills accelerated?

20 video_mem Total amount of video memory in Kilobytes

20 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"

SDL_PixelFormat, SDL_GetVideoInfo created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01