diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 13:49:18 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 13:49:18 +0200 |
commit | 65803e53a696347e38d7f6c2c8dc186c6764ff03 (patch) | |
tree | 18fe7abbb93a8fa76529c099db4f214a82fe654b /shared-core | |
parent | e2ffee839ed7ae6c55a0a8c6bb8ee872ae8a2a70 (diff) |
modesetting-101: implement optional scaling and dithering properties
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 2e4d2a94..41190640 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -1034,6 +1034,16 @@ struct drm_mm_info_arg { #define DRM_MODE_DPMS_SUSPEND 2 #define DRM_MODE_DPMS_OFF 3 +/* Scaling mode options */ +#define DRM_MODE_SCALE_NON_GPU 0 +#define DRM_MODE_SCALE_FULLSCREEN 1 +#define DRM_MODE_SCALE_NO_SCALE 2 +#define DRM_MODE_SCALE_ASPECT 3 + +/* Dithering mode options */ +#define DRM_MODE_DITHERING_OFF 0 +#define DRM_MODE_DITHERING_ON 1 + struct drm_mode_modeinfo { unsigned int clock; unsigned short hdisplay, hsync_start, hsync_end, htotal, hskew; |