projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fca43
)
Reset traps_count and ptrap when necessary for the next trapezoid cliprect
author
Michel Dänzer
<michel.daenzer@amd.com>
Fri, 20 Sep 2013 08:41:10 +0000
(10:41 +0200)
committer
Eric Anholt
<eric@anholt.net>
Wed, 18 Dec 2013 19:23:54 +0000
(11:23 -0800)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64912
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
glamor/glamor_trapezoid.c
patch
|
blob
|
history
diff --git
a/glamor/glamor_trapezoid.c
b/glamor/glamor_trapezoid.c
index
57a178c
..
7c934e3
100644
(file)
--- a/
glamor/glamor_trapezoid.c
+++ b/
glamor/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++;