aboutsummaryrefslogtreecommitdiffstats
path: root/drmtools.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-09-11 08:10:07 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-09-11 08:10:07 +0200
commit069b8bca0dc60077eba891566f32aa91532e123c (patch)
tree73bcb58b4e0421e97de9316bd0faa2cbfc79ff2e /drmtools.h
parente63f7620b6a8cb64a1d47adb789f51802163a8b7 (diff)
downloadfbida-069b8bca0dc60077eba891566f32aa91532e123c.tar.gz
mode switching for drm
Diffstat (limited to 'drmtools.h')
-rw-r--r--drmtools.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drmtools.h b/drmtools.h
index 0def894..169157e 100644
--- a/drmtools.h
+++ b/drmtools.h
@@ -7,11 +7,12 @@ extern drmModeEncoder *drm_enc;
extern drmModeModeInfo *drm_mode;
extern drmModeConnector *drm_conn;
void drm_cleanup_display(void);
-int drm_init_dev(const char *dev, const char *output);
+int drm_init_dev(const char *dev, const char *output, const char *mode);
/* drmtools.c */
-gfxstate *drm_init(const char *device, const char *output, bool pageflip);
+gfxstate *drm_init(const char *device, const char *output,
+ const char *mode, bool pageflip);
void drm_info(const char *device);
/* drmtools-egl.c */
-gfxstate *drm_init_egl(const char *device, const char *output);
+gfxstate *drm_init_egl(const char *device, const char *output, const char *mode);