[Glamor] [PATCH] Reset traps_count and ptrap when necessary for the next trapezoid cliprect
He Junyan
junyan.he at inbox.com
Tue Sep 24 01:34:25 PDT 2013
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++;
More information about the Glamor
mailing list