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
pgp9PphhGh06m.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
