Display Subsystem. More...
#include <stdint.h>Go to the source code of this file.
Typedefs | |
| typedef int | display_context_t |
| Display context. | |
Enumerations | |
| enum | resolution_t { RESOLUTION_320x240, RESOLUTION_640x480, RESOLUTION_256x240, RESOLUTION_512x480 } |
Valid video resolutions. More... | |
| enum | bitdepth_t { DEPTH_16_BPP, DEPTH_32_BPP } |
Valid bit depths. More... | |
| enum | gamma_t { GAMMA_NONE, GAMMA_CORRECT, GAMMA_CORRECT_DITHER } |
Valid gamma correction settings. More... | |
| enum | antialias_t { ANTIALIAS_OFF, ANTIALIAS_RESAMPLE, ANTIALIAS_RESAMPLE_FETCH_NEEDED, ANTIALIAS_RESAMPLE_FETCH_ALWAYS } |
Valid antialiasing settings. More... | |
Functions | |
| void | display_init (resolution_t res, bitdepth_t bit, uint32_t num_buffers, gamma_t gamma, antialias_t aa) |
| Initialize the display to a particular resolution and bit depth. | |
| display_context_t | display_lock () |
| Lock a display buffer for rendering. | |
| void | display_show (display_context_t disp) |
| Display a previously locked buffer. | |
| void | display_close () |
| Close the display. | |
Display Subsystem.
1.7.1