[PATCH 06/10] xfree86/xv: No need to free composite clip in AdjustFrame

ville.syrjala at nokia.com ville.syrjala at nokia.com
Fri Oct 29 11:19:02 PDT 2010


From: Ville Syrjälä <ville.syrjala at nokia.com>

Nothing should change in AdjustFrame that would need the composite clip
to be recomputed.

Signed-off-by: Ville Syrjälä <ville.syrjala at nokia.com>
---
 hw/xfree86/common/xf86xv.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c
index cbbff40..59232a8 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) &&
-- 
1.7.2.2



More information about the xorg-devel mailing list