gamescope/src/modegen.hpp

13 lines
359 B
C++
Raw Normal View History

#pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <xf86drmMode.h>
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
float vrefresh, bool reduced, bool interlaced);
2021-10-26 14:33:34 +00:00
void generate_fixed_mode(drmModeModeInfo *mode, const drmModeModeInfo *base,
int vrefresh, bool use_tuned_clocks);