diff options
author | Roman Stratiienko <roman.o.stratiienko@globallogic.com> | 2022-02-02 09:53:50 +0200 |
---|---|---|
committer | Roman Stratiienko <roman.o.stratiienko@globallogic.com> | 2022-02-04 11:19:40 +0200 |
commit | 9362cef4c34b9d23018d75be0cbb6ef0486bf75b (patch) | |
tree | 26e2c98e3a18d93ad165398f6d60377265b9ec5d /hwc2_device/HwcDisplay.h | |
parent | d0c035b44a844af5017c0c3b2507af2f3907c36c (diff) | |
download | drm-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.h | 2 |
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_; |