mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 23:22:24 +00:00
0e57effd38
Use the CVT algorithm to create a drmModeModeInfo.
14 lines
290 B
C
14 lines
290 B
C
#ifndef BACKEND_DRM_CVT_H
|
|
#define BACKEND_DRM_CVT_H
|
|
|
|
#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);
|
|
|
|
#endif
|