aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Paul2018-05-02 14:13:40 -0500
committerandroid-build-merger2018-05-02 14:13:40 -0500
commita9e7af11efd8514dea2394ef45c72fe7f747a62d (patch)
treeee902e35ac53ce0c45249f8f73a95a1ffe42424c
parentbae5e71e53931f4aa2cfd253686608eaa889eba4 (diff)
parent755140590075bb8509b35ecb1d0a0f9f28761ddb (diff)
downloadexternal-libgbm-a9e7af11efd8514dea2394ef45c72fe7f747a62d.tar.gz
external-libgbm-a9e7af11efd8514dea2394ef45c72fe7f747a62d.tar.xz
external-libgbm-a9e7af11efd8514dea2394ef45c72fe7f747a62d.zip
libdrm: Add rotation property fields
am: 7551405900 Change-Id: I72368485f2294befe5283be11932dda6d182a5f1
-rw-r--r--include/drm/drm_mode.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 5f9fadbd..74368de3 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -173,6 +173,19 @@ extern "C" {
173 DRM_MODE_REFLECT_X | \ 173 DRM_MODE_REFLECT_X | \
174 DRM_MODE_REFLECT_Y) 174 DRM_MODE_REFLECT_Y)
175 175
176
177/*
178 * Legacy definitions for old code that doesn't use
179 * the above mask definitions. Don't use in future code.
180 */
181/* rotation property bits */
182#define DRM_ROTATE_0 0
183#define DRM_ROTATE_90 1
184#define DRM_ROTATE_180 2
185#define DRM_ROTATE_270 3
186#define DRM_REFLECT_X 4
187#define DRM_REFLECT_Y 5
188
176/* Content Protection Flags */ 189/* Content Protection Flags */
177#define DRM_MODE_CONTENT_PROTECTION_UNDESIRED 0 190#define DRM_MODE_CONTENT_PROTECTION_UNDESIRED 0
178#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1 191#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1