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 <mario.kleiner.de@gmail.com> Reviewed-by: Antoine Martin <antoine@nagafix.co.uk>
This commit is contained in:
parent
c326c717c8
commit
7a687da24c
|
@ -773,6 +773,7 @@ static Bool
|
||||||
glamor_render_format_is_supported(PictFormatShort format)
|
glamor_render_format_is_supported(PictFormatShort format)
|
||||||
{
|
{
|
||||||
switch (format) {
|
switch (format) {
|
||||||
|
case PICT_x2r10g10b10:
|
||||||
case PICT_a8r8g8b8:
|
case PICT_a8r8g8b8:
|
||||||
case PICT_x8r8g8b8:
|
case PICT_x8r8g8b8:
|
||||||
case PICT_a8:
|
case PICT_a8:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user