From d794be81218934ad4580211c7a0a27cb71eb5d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Fri, 29 Oct 2010 18:07:32 +0300 Subject: [PATCH] xfree86/xv: No need to free composite clip in AdjustFrame MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nothing should change in AdjustFrame that would need the composite clip to be recomputed. Signed-off-by: Ville Syrjälä Reviewed-by: Luc Verhaegen --- hw/xfree86/common/xf86xv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index cbbff40ba..59232a85d 100644 --- a/hw/xfree86/common/xf86xv.c +++ b/hw/xfree86/common/xf86xv.c @@ -1289,12 +1289,6 @@ xf86XVAdjustFrame(int index, int x, int y, int flags) pPriv = (XvPortRecPrivatePtr)pPort->devPriv.ptr; if(!pPriv->type && (pPriv->isOn != XV_OFF)) { /* overlaid still/image */ - - if(pPriv->pCompositeClip && pPriv->FreeCompositeClip) - RegionDestroy(pPriv->pCompositeClip); - - pPriv->pCompositeClip = NULL; - pWin = (WindowPtr)pPriv->pDraw; if ((pPriv->AdaptorRec->ReputImage) &&