xf86-video-intel: src/sna/sna_video_overlay.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri May 15 17:03:22 UTC 2020
src/sna/sna_video_overlay.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc
Author: Ville Syrjälä <ville.syrjala at linux.intel.com>
Date: Mon Oct 28 14:58:42 2019 +0200
sna/video/overlay: Declare support for depth 8 and 30
Add 8 and 30 to the list of supported screen depths. The colorkey
massaging will be handled by the kernel so we don't have to worry
about it unlike with the sprite colorkey uapi.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index 7c7bb483..07964871 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -57,9 +57,11 @@ static Atom xvGamma0, xvGamma1, xvGamma2, xvGamma3, xvGamma4, xvGamma5;
#define IMAGE_MAX_HEIGHT_LEGACY 1088
static XvFormatRec Formats[] = {
+ { .depth = 8, },
{ .depth = 15, },
{ .depth = 16, },
{ .depth = 24, },
+ { .depth = 30, },
};
static const XvAttributeRec Attributes[] = {
More information about the xorg-commit
mailing list