summaryrefslogtreecommitdiff
path: root/hwc2/hwc2_dev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hwc2/hwc2_dev.cpp')
-rw-r--r--hwc2/hwc2_dev.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwc2/hwc2_dev.cpp b/hwc2/hwc2_dev.cpp
index 46ca61b..bf48316 100644
--- a/hwc2/hwc2_dev.cpp
+++ b/hwc2/hwc2_dev.cpp
@@ -200,6 +200,13 @@ hwc2_error_t hwc2_dev::set_layer_blend_mode(hwc2_display_t dpy_id,
blend_mode);
}
+hwc2_error_t hwc2_dev::set_layer_plane_alpha(hwc2_display_t dpy_id,
+ hwc2_layer_t lyr_id, float plane_alpha)
+{
+ return displays.find(dpy_id)->second.set_layer_plane_alpha(lyr_id,
+ plane_alpha);
+}
+
void hwc2_dev::hotplug(hwc2_display_t dpy_id, hwc2_connection_t connection)
{
auto it = displays.find(dpy_id);