DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_VideoInfo.3.en
SDL_VideoInfo(3) SDL API Reference SDL_VideoInfo(3)

SDL_VideoInfo - Video Target information

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;

Is it possible to create hardware surfaces?
Is there a window manager available
Are hardware to hardware blits accelerated?
Are hardware to hardware colorkey blits accelerated?
Are hardware to hardware alpha blits accelerated?
Are software to hardware blits accelerated?
Are software to hardware colorkey blits accelerated?
Are software to hardware alpha blits accelerated?
Are color fills accelerated?
Total amount of video memory in Kilobytes
Pixel format of the video device

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.

SDL_PixelFormat, SDL_GetVideoInfo

Tue 11 Sep 2001, 23:01 SDL