diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-16 12:11:06 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-16 13:39:01 +0300 |
commit | 765d7f1ad031276dfba42fd8cc53dbcd2a0aa928 (patch) | |
tree | d41573b2697974b958ea3fced48fde5b72264428 /libkms++/videomode.h | |
parent | 2a90a15ec48cca638dab77429e388ec4699d4749 (diff) |
kmsxx: add modedb
Diffstat (limited to 'libkms++/videomode.h')
-rw-r--r-- | libkms++/videomode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libkms++/videomode.h b/libkms++/videomode.h index 28a5b00..8bcdc8a 100644 --- a/libkms++/videomode.h +++ b/libkms++/videomode.h @@ -1,10 +1,15 @@ #pragma once +#include <string> +#include <cstdint> + namespace kms { struct Videomode { + std::string name; + uint32_t clock; uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; uint16_t vdisplay, vsync_start, vsync_end, vtotal, vscan; @@ -13,8 +18,6 @@ struct Videomode uint32_t flags; // DRM_MODE_FLAG_* uint32_t type; // DRM_MODE_TYPE_* - - std::string name; }; } |