aboutsummaryrefslogtreecommitdiffstats
path: root/hwc2_device/HwcDisplay.h
diff options
context:
space:
mode:
authorRoman Stratiienko <roman.o.stratiienko@globallogic.com>2022-02-02 09:53:50 +0200
committerRoman Stratiienko <roman.o.stratiienko@globallogic.com>2022-02-04 11:19:40 +0200
commit9362cef4c34b9d23018d75be0cbb6ef0486bf75b (patch)
tree26e2c98e3a18d93ad165398f6d60377265b9ec5d /hwc2_device/HwcDisplay.h
parentd0c035b44a844af5017c0c3b2507af2f3907c36c (diff)
downloaddrm-hwcomposer-9362cef4c34b9d23018d75be0cbb6ef0486bf75b.tar.gz
drm-hwcomposer-9362cef4c34b9d23018d75be0cbb6ef0486bf75b.tar.bz2
drm-hwcomposer-9362cef4c34b9d23018d75be0cbb6ef0486bf75b.zip
drm_hwcomposer: Rework KMS composition planner + plane sharing support
Rewrite Layer-to-Plane planner. Get rid of ~200 redundant lines of code + added plane sharing functionality. Closes: https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/issues/11 Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
Diffstat (limited to 'hwc2_device/HwcDisplay.h')
-rw-r--r--hwc2_device/HwcDisplay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwc2_device/HwcDisplay.h b/hwc2_device/HwcDisplay.h
index e7ce7ef..ed29da6 100644
--- a/hwc2_device/HwcDisplay.h
+++ b/hwc2_device/HwcDisplay.h
@@ -221,6 +221,8 @@ class HwcDisplay {
std::array<float, MATRIX_SIZE> color_transform_matrix_{};
android_color_transform_t color_transform_hint_;
+ std::shared_ptr<DrmKmsPlan> current_plan_;
+
uint32_t frame_no_ = 0;
Stats total_stats_;
Stats prev_stats_;