xf86-video-intel: src/i830_uxa.c

Keith Packard keithp at kemper.freedesktop.org
Mon May 10 23:00:55 PDT 2010


 src/i830_uxa.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d745cab6c45b9fce5e46eacbdd04ceae911fddbb
Author: Keith Packard <keithp at keithp.com>
Date:   Mon May 10 22:58:49 2010 -0700

    Must call ValidateGC in i830_uxa_put_image for scratch GC
    
    Always need to call ValidateGC or the scratch GC will not get the
    right composite clip.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 94a9fa9..e96f0a9 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -862,6 +862,7 @@ static Bool i830_uxa_put_image(PixmapPtr pixmap,
 			if (scratch) {
 				gc = GetScratchGC(pixmap->drawable.depth, screen);
 				if (gc) {
+					ValidateGC(&pixmap->drawable, gc);
 					pixmap->devPrivate.ptr = priv->bo->virtual;
 					ret = !! fbCopyArea(&scratch->drawable, &pixmap->drawable, gc,
 							    0, 0,


More information about the xorg-commit mailing list