diff options
author | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-11-08 17:16:11 +0200 |
---|---|---|
committer | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-11-21 08:25:14 +0200 |
commit | afb36897c9ecc76921f4d69c9de30e924b286893 (patch) | |
tree | 044c8ff04502bfbf3b94519f893baabc12c8771f /include | |
parent | f264723195a7ef5ecb5bf29a6018d29b20fe5ed6 (diff) |
drm_hwcomposer: Apply same logic for 'CURSOR' layers as for 'DEVICE'
Cursor usually is most top layer. Since it validates as CLIENT, it causes
remain layers to be validated as CLIENT, resulting performance dropping.
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drmhwctwo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drmhwctwo.h b/include/drmhwctwo.h index 8c75fc0..f675429 100644 --- a/include/drmhwctwo.h +++ b/include/drmhwctwo.h @@ -193,6 +193,7 @@ class DrmHwcTwo : public hwc2_device_t { private: HWC2::Error CreateComposition(bool test); void AddFenceToRetireFence(int fd); + bool HardwareSupportsLayerType(HWC2::Composition comp_type); ResourceManager *resource_manager_; DrmDevice *drm_; |