[Spice-devel] RFC: Render support in the protocol
Christophe Fergeau
cfergeau at redhat.com
Thu Jul 7 00:53:30 PDT 2011
Hi Soeren,
On Wed, Jul 06, 2011 at 03:38:19PM +0200, Soeren Sandmann wrote:
> where:
>
> TRANSFORM is 6 fixpoint numbers describing an affine transform
>
> REPEAT is one of { NONE, NORMAL, REFLECT, PAD }
>
> FILTER is one of { NEAREST, BILINEAR }
>
[...]
>
> The result would be this new command:
>
> RED_DISPLAY_DRAW_COMPOSITE:
>
> UINT32_T info
> ADDRESS source_image
> ADDRESS source_transform [ may be NULL ]
> POINT16 src_origin
> ADDRESS mask_image [ may be NULL ]
> ADDRESS mask_transform [ may be NULL ]
> POINT16 mask_origin
>
> where info is a bitfield:
>
> [ operator : 8
> src_filter : 2
> mask_filter : 2
> src_repeat : 2
> mask_repeat : 2
> component_alpha : 1
> padding : 15 // must be zero
> ]
If FILTER only has 2 possible values, it would fit on a single bit, did you
use 2 because you know it will have to be extended soon?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110707/906f1f93/attachment.pgp>
More information about the Spice-devel
mailing list