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 <mario.kleiner...@gmail.com>
---
 glamor/glamor_render.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c
index 7a96c82..1cfdf04 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:
-- 
2.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to