My poor commit message qualit shows here again:
This fixes problem that mesa driver access already freed memory area in
update of scrissor clipping. So basicaly now when window moves radeon driver
is using old clipping rectangles for short while.

On Wed, Jul 29, 2009 at 1:28 AM, Pauli Nieminen <[email protected]> wrote:

> 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

Reply via email to