mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-29 10:32:29 +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
|