summaryrefslogtreecommitdiff
path: root/kms++/src/helpers.h
blob: 4eb597cc23b89a5960b4d0de1f27dad32458048f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <xf86drm.h>
#include <xf86drmMode.h>

namespace kms
{
struct Videomode;

Videomode drm_mode_to_video_mode(const drmModeModeInfo& drmmode);
drmModeModeInfo video_mode_to_drm_mode(const Videomode& mode);
}