[Glamor] [PATCH] Reset traps_count and ptrap when necessary for the next trapezoid cliprect
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Sep 24 01:33:21 PDT 2013
Pushed, thanks for the patch.
On Tue, Sep 24, 2013 at 04:34:25PM +0800, He Junyan wrote:
> LGTM
> and very thanks for fixing this bug of trapezoid
>
>
> > From: Michel Dänzer <michel.daenzer at amd.com>
> >
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64912
> > Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> > ---
> > src/glamor_trapezoid.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/src/glamor_trapezoid.c b/src/glamor_trapezoid.c
> > index 57a178c..7c934e3 100644
> > --- a/src/glamor_trapezoid.c
> > +++ b/src/glamor_trapezoid.c
> > @@ -934,6 +934,9 @@ NTRAPS_LOOP_AGAIN:
> > traps_not_completed -= traps_count;
> > glamor_flush_composite_triangles(screen);
> > goto NTRAPS_LOOP_AGAIN;
> > + } else {
> > + ptrap = traps;
> > + traps_count = ntrap;
> > }
> >
> > pbox++;
>
>
>
> _______________________________________________
> Glamor mailing list
> Glamor at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/glamor
More information about the Glamor
mailing list