diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-10-15 15:17:31 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2015-10-15 16:59:45 -0400 |
commit | d8aefb635a854c36b0cf2eb36ecdf9070ddc7151 (patch) | |
tree | 22c3618f95a672c6872d65a7013f0253c6f866f0 /drmplane.h | |
parent | 738593c7c5e96b8a16fad8be661710374994e510 (diff) |
drm_hwcomposer: Use layer alpha to blend planes
Send the layer alpha to the drm plane's alpha property to
properly blend layers.
BUG=b/24821110
TEST=Tested on smaug with Downloads/About windows, blend properly
Change-Id: If96eb28d65d018863c39bc5a3554daef0264144b
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
@@ -52,6 +52,7 @@ class DrmPlane { const DrmProperty &src_w_property() const; const DrmProperty &src_h_property() const; const DrmProperty &rotation_property() const; + const DrmProperty &alpha_property() const; private: DrmPlane(const DrmPlane &); @@ -74,6 +75,7 @@ class DrmPlane { DrmProperty src_w_property_; DrmProperty src_h_property_; DrmProperty rotation_property_; + DrmProperty alpha_property_; }; } |