#include <SDL_video.h>
Data Fields | |
| Uint32 | hw_available:1 |
| Uint32 | wm_available:1 |
| Uint32 | UnusedBits1:6 |
| Uint32 | UnusedBits2: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:1 |
| Uint32 | UnusedBits3:16 |
| Uint32 | video_mem |
| SDL_PixelFormat * | vfmt |
| int | current_w |
| int | current_h |
| Uint32 blit_fill |
Flag: Accelerated color fill
| Uint32 blit_hw |
Flag: Accelerated blits HW --> HW
| Uint32 blit_hw_A |
Flag: Accelerated blits with Alpha
| Uint32 blit_hw_CC |
Flag: Accelerated blits with Colorkey
| Uint32 blit_sw |
Flag: Accelerated blits SW --> HW
| Uint32 blit_sw_A |
Flag: Accelerated blits with Alpha
| Uint32 blit_sw_CC |
Flag: Accelerated blits with Colorkey
| int current_h |
Value: The current video mode height
| int current_w |
Value: The current video mode width
| Uint32 hw_available |
Flag: Can you create hardware surfaces?
Value: The format of the video surface
| Uint32 video_mem |
The total amount of video memory (in K)
| Uint32 wm_available |
Flag: Can you talk to a window manager?
1.5.8