diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2017-04-16 19:05:18 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2017-04-16 19:12:43 +0300 |
commit | 944dd4fe95db2e29489818a570f010df2bccb06a (patch) | |
tree | ca9226388814f1b03e178fcf176b8b44c459073d /kms++/pixelformats.h | |
parent | 94a58cd836950743bb1a16c7f48852d0cca57038 (diff) |
Return primary plane already associated with the CRTC if it exists
The Crtc::get_primary_plane() method returns the first primary plane
that supports the CRTC. While being correct, this could lead to multiple
primary planes being associated with the CRTC, which can confuse
applications. To avoid that, return insead the primary plane already
associated with the CRTC if one exists, otherwise keep the current
behaviour.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kms++/pixelformats.h')
0 files changed, 0 insertions, 0 deletions