Keith Packard <[email protected]> writes:

> This call is required for correct operation of the Render extension,
> in particular it is necessary for software cursors and Composite to
> work correctly.
>
> Signed-off-by: Keith Packard <[email protected]>
> ---
>  glamor/glamor_render.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c
> index cdf8eff..ae6f769 100644
> --- a/glamor/glamor_render.c
> +++ b/glamor/glamor_render.c
> @@ -1597,6 +1597,10 @@ _glamor_composite(CARD8 op,
>      DrawablePtr saved_mask_drawable;
>      int force_clip = 0;
>  
> +    miCompositeSourceValidate(source);
> +    if (mask)
> +        miCompositeSourceValidate(mask);
> +

These two calls are also done by miComputeCompositeRegion, which is
called very soon after this -- did you observe an actual bug that was
fixed by this patch?

Attachment: pgpMerqLhaXHB.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to