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

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

namespace kms
{
class Videomode;

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