KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Video display modes and management. More...
Modules | |
Cables | |
Cable/connector types and management for display. | |
Flags | |
vid_mode_t Field Flags | |
Pixel Modes | |
Pixel mode settings for the framebuffer. | |
Types | |
Display mode type values. | |
Data Structures | |
struct | vid_mode_t |
Video mode structure. More... | |
Functions | |
void | vid_set_mode (int dm, vid_pixel_mode_t pm) |
Set the video mode. | |
void | vid_set_mode_ex (vid_mode_t *mode) |
Set the video mode. | |
Variables | |
vid_mode_t | vid_builtin [DM_MODE_COUNT] |
The list of builtin video modes. Do not modify these! | |
vid_mode_t * | vid_mode |
The current video mode. Do not modify directly! | |
Video display modes and management.
void vid_set_mode | ( | int | dm, |
vid_pixel_mode_t | pm | ||
) |
Set the video mode.
This function sets the current video mode to the one specified by the parameters.
dm | The display mode to use. One of the DM_* values. |
pm | The pixel mode to use. One of the PM_* values. |
void vid_set_mode_ex | ( | vid_mode_t * | mode | ) |
Set the video mode.
This function sets the current video mode to the mode structure passed in. You can use this to add support to your program for modes that KOS doesn't have support for built-in (of course, you should tell us the settings so we can add them into KOS if you do this).
mode | A filled in vid_mode_t for the mode wanted. |
|
extern |
The list of builtin video modes. Do not modify these!
|
extern |
The current video mode. Do not modify directly!