[PATCH v2 06/15] xfree86/xv: No need to free composite clip in AdjustFrame
ville.syrjala at nokia.com
ville.syrjala at nokia.com
Tue Nov 2 11:05:52 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 495e89f..e28dd9c 100644
--- a/hw/xfree86/common/xf86xv.c
+++ b/hw/xfree86/common/xf86xv.c
@@ -1284,12 +1284,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