Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libdrm: Commit

external/libdrm


Commit MetaInfo

Revision401c611ca9f29773017505a00660f5f25cead2ab (tree)
Time2017-09-05 18:09:05
AuthorSean Paul <seanpaul@chro...>
CommiterChih-Wei Huang

Log Message

libdrm: Add rotation property fields

From drm_crtc.h, for use with the plane "rotation" property

Change-Id: If708f3d9ed4ef62f687c056b1f309f668597736a
Signed-off-by: Sean Paul <seanpaul@chromium.org>

Change Summary

Incremental Difference

--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -119,6 +119,14 @@ extern "C" {
119119 #define DRM_MODE_LINK_STATUS_GOOD 0
120120 #define DRM_MODE_LINK_STATUS_BAD 1
121121
122+/* Rotation property bits */
123+#define DRM_ROTATE_0 0
124+#define DRM_ROTATE_90 1
125+#define DRM_ROTATE_180 2
126+#define DRM_ROTATE_270 3
127+#define DRM_REFLECT_X 4
128+#define DRM_REFLECT_Y 5
129+
122130 struct drm_mode_modeinfo {
123131 __u32 clock;
124132 __u16 hdisplay;
Show on old repository browser