Seems to work well on rv620; gets rid of corruption outside the window
when dragging an active program. 

-----Original Message-----
From: Pauli Nieminen [mailto:[email protected]] 
Sent: Tuesday, July 28, 2009 6:29 PM
To: [email protected]
Subject: [Mesa3d-dev] [PATCH] radeon: Cliprects has to be updated
beforedoing anything with clip rectangles

Signed-off-by: Pauli Nieminen <[email protected]>
---
 src/mesa/drivers/dri/radeon/radeon_common.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c
b/src/mesa/drivers/dri/radeon/radeon_common.c
index dde615a..7f503a9 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -887,10 +887,11 @@ void radeonUpdatePageFlipping(radeonContextPtr
radeon)
 
 void radeon_window_moved(radeonContextPtr radeon)  {
+       /* Cliprects has to be updated before doing anything else */
+       radeonSetCliprects(radeon);
        if (!radeon->radeonScreen->driScreen->dri2.enabled) {
                radeonUpdatePageFlipping(radeon);
        }
-       radeonSetCliprects(radeon);
 }
 
 void radeon_viewport(GLcontext *ctx, GLint x, GLint y, GLsizei width,
GLsizei height)
--
1.6.3.3


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to