Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

SDL_VideoInfo (3)

Name

SDL_VideoInfo - Video Target information

Synopsis

Please see following description for synopsis

Description

SDL_VideoInfo(3)               SDL API Reference              SDL_VideoInfo(3)



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
       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 acceler-
                           ated?

       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  acceler-
                           ated?

       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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/sdl      |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       SDL_PixelFormat, SDL_GetVideoInfo



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from        https://www.lib-
       sdl.org/release/SDL-1.2.15.tar.gz

       Further information about this software can be found on the open source
       community website at https://www.libsdl.org/.



SDL                         Tue 11 Sep 2001, 23:01            SDL_VideoInfo(3)