[PATCH 03/21] glamor: the render Composite hook must call SourceValidate
Keith Packard
keithp at keithp.com
Tue Apr 1 17:29:02 PDT 2014
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 <keithp at keithp.com>
---
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);
+
dest_pixmap_priv = glamor_get_pixmap_private(dest_pixmap);
if (source->pDrawable) {
--
1.9.0
More information about the xorg-devel
mailing list