8bcdc8a3646b4d5171aa438cb0d415d71e5a2562
[android/external-libkmsxx.git] / libkms++ / videomode.h
1 #pragma once
3 #include <string>
4 #include <cstdint>
6 namespace kms
7 {
9 struct Videomode
10 {
11         std::string name;
13         uint32_t clock;
14         uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew;
15         uint16_t vdisplay, vsync_start, vsync_end, vtotal, vscan;
17         uint32_t vrefresh;
19         uint32_t flags;         // DRM_MODE_FLAG_*
20         uint32_t type;          // DRM_MODE_TYPE_*
21 };
23 }