include/SDL_video.h
branchSDL-1.3
changeset 1669 9857d21967bb
parent 1668 4da1ee79c9af
child 1670 eef792d31de8
     1.1 --- a/include/SDL_video.h	Mon May 29 04:04:35 2006 +0000
     1.2 +++ b/include/SDL_video.h	Mon May 29 05:08:33 2006 +0000
     1.3 @@ -126,22 +126,29 @@
     1.4                           struct SDL_Surface * dst, SDL_Rect * dstrect);
     1.5  
     1.6  
     1.7 -/* Useful for determining the video hardware capabilities */
     1.8 +/**
     1.9 + * \struct SDL_VideoInfo
    1.10 + *
    1.11 + * \brief Useful for determining the video hardware capabilities
    1.12 + */
    1.13  typedef struct SDL_VideoInfo
    1.14  {
    1.15 -    Uint32 hw_available:1;      /* Flag: Can you create hardware surfaces? */
    1.16 -    Uint32 wm_available:1;      /* Flag: Can you talk to a window manager? */
    1.17 +    Uint32 hw_available:1;  /**< Flag: Can you create hardware surfaces? */
    1.18 +    Uint32 wm_available:1;  /**< Flag: Can you talk to a window manager? */
    1.19      Uint32 UnusedBits1:6;
    1.20      Uint32 UnusedBits2:1;
    1.21 -    Uint32 blit_hw:1;           /* Flag: Accelerated blits HW --> HW */
    1.22 -    Uint32 blit_hw_CC:1;        /* Flag: Accelerated blits with Colorkey */
    1.23 -    Uint32 blit_hw_A:1;         /* Flag: Accelerated blits with Alpha */
    1.24 -    Uint32 blit_sw:1;           /* Flag: Accelerated blits SW --> HW */
    1.25 -    Uint32 blit_sw_CC:1;        /* Flag: Accelerated blits with Colorkey */
    1.26 -    Uint32 blit_sw_A:1;         /* Flag: Accelerated blits with Alpha */
    1.27 -    Uint32 blit_fill:1;         /* Flag: Accelerated color fill */
    1.28 +    Uint32 blit_hw:1;       /**< Flag: Accelerated blits HW --> HW */
    1.29 +    Uint32 blit_hw_CC:1;    /**< Flag: Accelerated blits with Colorkey */
    1.30 +    Uint32 blit_hw_A:1;     /**< Flag: Accelerated blits with Alpha */
    1.31 +    Uint32 blit_sw:1;       /**< Flag: Accelerated blits SW --> HW */
    1.32 +    Uint32 blit_sw_CC:1;    /**< Flag: Accelerated blits with Colorkey */
    1.33 +    Uint32 blit_sw_A:1;     /**< Flag: Accelerated blits with Alpha */
    1.34 +    Uint32 blit_fill:1;     /**< Flag: Accelerated color fill */
    1.35      Uint32 UnusedBits3:16;
    1.36      Uint32 video_mem;           /* The total amount of video memory (in K) */
    1.37 +
    1.38 +    /* Here for backwards compatibility */
    1.39 +    SDL_PixelFormat *vfmt;
    1.40  } SDL_VideoInfo;
    1.41  
    1.42  /**