[Spice-devel] Support for new Composite commands

2012-08-19 Thread Søren Sandmann
The following patch sets spanning spice, spice-common, spice-protocol and spice-gtk implement support for the following new features: - a new A8 surface format - a new Composite command The Composite command is useful for implementing render suport in the X11 guest driver. There are some

[Spice-devel] [PATCH 2/2] Add support for QXLComposite to the Spice protocol headers

2012-08-19 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen This new command is intended to be used for implementing the Composite request from the Render X extension. See http://www.x.org/releases/current/doc/renderproto/renderproto.txt for a description of the Render extension. Composite has three fields: src, mask an

[Spice-devel] [PATCH 1/2] Add an 8BIT_A format

2012-08-19 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen This format corresponds to a sequence of bytes, each of which represents an alpha value. --- spice/enums.h | 1 + 1 file changed, 1 insertion(+) diff --git a/spice/enums.h b/spice/enums.h index c4e38aa..7cdea0f 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -154

[Spice-devel] Patches for spice-protocol

2012-08-19 Thread Søren Sandmann Pedersen
SSIA ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [PATCH 3/3] Add support for a new Composite request

2012-08-19 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen Most desktop applications on Linux rely on the X11 Render extensions for image compositing, which is poorly supported in SPICE. This patch implements support for a compositing command that supports the image compositing features of Render. The pixman library that SP

[Spice-devel] [PATCH 2/3] Add support for A8 images to the LZ routines

2012-08-19 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen This format is needed to add Render support to the X driver, so we need the ability to compress and decompress it. --- common/canvas_base.c| 4 common/lz.c | 24 +++- common/lz_common.h | 5 +++-- common/lz

[Spice-devel] [PATCH 1/3] canvas_utils: Make sure strides are aligned to multiple of 4

2012-08-19 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen Pixman requires all strides to be aligned to a multiple of 4. With the upcoming a8 images, this is not guaranteed anymore. --- common/canvas_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/canvas_utils.c b/common/canvas_utils.c index 7b92436..f

[Spice-devel] Patches for spice-common

2012-08-19 Thread Søren Sandmann Pedersen
SSIA ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [PATCH] Add support for Composite command to spice-gtk

2012-08-19 Thread Søren Sandmann
From: Søren Sandmann Pedersen All the real work is done in spice-common, so this is a pretty simple change. --- gtk/channel-display.c | 8 spice-common | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gtk/channel-display.c b/gtk/channel-display.c index 4ed3