1SDL_VideoInfo(3)               SDL API Reference              SDL_VideoInfo(3)
2
3
4

NAME

6       SDL_VideoInfo - Video Target information
7

STRUCTURE DEFINITION

9       typedef struct{
10         Uint32 hw_available:1;
11         Uint32 wm_available:1;
12         Uint32 blit_hw:1;
13         Uint32 blit_hw_CC:1;
14         Uint32 blit_hw_A:1;
15         Uint32 blit_sw:1;
16         Uint32 blit_sw_CC:1;
17         Uint32 blit_sw_A:1;
18         Uint32 blit_fill;
19         Uint32 video_mem;
20         SDL_PixelFormat *vfmt;
21       } SDL_VideoInfo;
22

STRUCTURE DATA

24       hw_available        Is it possible to create hardware surfaces?
25
26       wm_available        Is there a window manager available
27
28       blit_hw             Are hardware to hardware blits accelerated?
29
30       blit_hw_CC          Are  hardware  to  hardware colorkey blits acceler‐
31                           ated?
32
33       blit_hw_A           Are hardware to hardware alpha blits accelerated?
34
35       blit_sw             Are software to hardware blits accelerated?
36
37       blit_sw_CC          Are software to hardware  colorkey  blits  acceler‐
38                           ated?
39
40       blit_sw_A           Are software to hardware alpha blits accelerated?
41
42       blit_fill           Are color fills accelerated?
43
44       video_mem           Total amount of video memory in Kilobytes
45
46       vfmt                Pixel format of the video device
47

DESCRIPTION

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

SEE ALSO

54       SDL_PixelFormat, SDL_GetVideoInfo
55
56
57
58SDL                         Tue 11 Sep 2001, 23:01            SDL_VideoInfo(3)
Impressum