#ifndef __DISPLAY33_H__ #define __DISPLAY33_H__ #include "libdrm/drm_mode.h" #include "types33.h" #include "graphics33.h" typedef struct { Size id[2]; u8 *map[2]; Size stride; Size size; } Framebuffer33; typedef struct { Framebuffer33 fb; Surface33 surface; struct drm_mode_crtc crtc; struct drm_mode_modeinfo mode; struct drm_mode_get_connector connector; Size devFd, ttyFd; Boolean active; } Display33; extern Display33 __display; Error display33_init( void ); void display33_flip( void ); void display33_vtswitcher_poll( int timeout ); void display33_term( void ); #endif /* __DISPLAY33_H__ */