Commit 7a687da2 authored by Mario Kleiner's avatar Mario Kleiner Committed by Adam Jackson

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: default avatarMario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Antoine Martin's avatarAntoine Martin <antoine@nagafix.co.uk>
parent c326c717
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment