xserver-multidpi/mi
Keith Packard 41932dfbc8 mi: Partial pie-slice filled arcs may need more space for spans
The mi filled arc code estimates that a filled arc will produce no
more spans than the arc is tall. This is true for most arcs except
for pie-slice arcs strictly between 180 and 360 degrees where the missing
portion of the arc faces up or down such that we get two spans on some
scanlines.

For those, we need to reserve room for another height/2 spans. This
patch just does it for all partial pie-sliced arcs to make the test
easier to understand; it's just over-allocating a bit of memory, so
that's safe.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2015-04-13 18:41:26 -07:00
..
Makefile.am mi: Fold micursor.c into mipointer.c 2014-10-27 15:45:29 -04:00
mi.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
miarc.c mi: Fix regression in arc drawing 2014-11-24 20:35:59 -08:00
mibitblt.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
micmap.c mi: Remove Windows 8-bpp colormap compatibility 2014-09-26 15:27:18 -04:00
micmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
micoord.h mi: Remove semi-arbitrary arch awareness in packed coordinate macros 2014-07-28 12:20:44 -07:00
micopy.c dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
midash.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
midispcur.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mieq.c mieq: Fix a crash regression in mieqProcessDeviceEvent 2014-07-21 22:58:36 -07:00
miexpose.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mifillarc.c mi: Partial pie-slice filled arcs may need more space for spans 2015-04-13 18:41:26 -07:00
mifillarc.h mi: Unexport arc fill implementation details 2014-10-27 15:45:21 -04:00
mifillrct.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mifpoly.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
migc.c dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
migc.h Clean up a few function prototypes to not place formals in /**/ 2014-01-12 10:24:12 -08:00
miglblt.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
miinitext.c Fix XQuartz build 2015-03-31 09:02:28 -07:00
miline.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mioverlay.c dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
mioverlay.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mipointer.c mi: fix accidental x/y coordinate swap 2015-01-05 14:26:45 -08:00
mipointer.h mipointer: Remove deprecated miPointerCurrentScreen 2013-09-10 13:29:21 -04:00
mipointrst.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mipoly.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipoly.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipolypnt.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipolyrect.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipolyseg.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipolytext.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mipushpxl.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
miscanfill.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
miscrinit.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
misprite.c mi: Fix block handler wrapping in miSprite 2014-07-17 11:17:20 -07:00
misprite.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mistruct.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mivalidate.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mivaltree.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
miwideline.c mi: Fold mispans.c into miwideline.c 2014-10-27 15:45:22 -04:00
miwideline.h mi: Fold mispans.c into miwideline.c 2014-10-27 15:45:22 -04:00
miwindow.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mizerarc.c mi: Make miPolyArc draw fast zero-width when possible 2014-06-12 22:52:49 -07:00
mizerarc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
mizerclip.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mizerline.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00