diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-07-14 15:51:52 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2015-07-16 14:06:51 -0400 |
commit | 1c4c32635df1f45bbcf63c8c1a76207ca90402e5 (patch) | |
tree | 181786fc1cac2a1ca46aec80a56bedd88c9b61a7 /drmplane.h | |
parent | 7f26826567ab53c1ebacdd3d7deb5ce4d566ce84 (diff) |
drm_hwcomposer: Add rotation support for hw planes
This patch adds support for transformed layers by using the
rotation property on drm planes.
Bug: chrome-os-partner:42093
Test: On smaug using
adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:<R>
Change-Id: I86bb8ef2f77b5d046a5fddd57db4b87070b5801f
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drmplane.h')
-rw-r--r-- | drmplane.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,7 @@ class DrmPlane { const DrmProperty &src_y_property() const; const DrmProperty &src_w_property() const; const DrmProperty &src_h_property() const; + const DrmProperty &rotation_property() const; private: DrmPlane(const DrmPlane &); @@ -72,6 +73,7 @@ class DrmPlane { DrmProperty src_y_property_; DrmProperty src_w_property_; DrmProperty src_h_property_; + DrmProperty rotation_property_; }; } |