summaryrefslogtreecommitdiff
path: root/kms++/src/helpers.h
blob: 58926bf1b3e989bd8db31e59ded292f414636b4e (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);
} // namespace kms