From 7a687da24c9d3c9e40ffa426631bf355322d470e Mon Sep 17 00:00:00 2001 From: Mario Kleiner Date: Tue, 27 Feb 2018 03:05:28 +0100 Subject: [PATCH] glamor: Enable composite acceleration for rgb10 formats. (v2) Specifically for xrgb2101010 format. Tested on KDE Plasma-5 with XRender based composite acceleration backend. Much smoother and faster. (v2) Dropped argb2101010, because of depth 32 confusion with argb8888, as pointed out by Eric. Thanks! Signed-off-by: Mario Kleiner Reviewed-by: Antoine Martin --- glamor/glamor_render.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c index d8d1a335b..0417df4e6 100644 --- a/glamor/glamor_render.c +++ b/glamor/glamor_render.c @@ -773,6 +773,7 @@ static Bool glamor_render_format_is_supported(PictFormatShort format) { switch (format) { + case PICT_x2r10g10b10: case PICT_a8r8g8b8: case PICT_x8r8g8b8: case PICT_a8: