mirror of
https://github.com/X11Libre/xserver.git
synced 2026-12-01 08:00:28 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This avoids recomputing the span data for every dash. x11perf thinks
this is a pretty modest speedup:
832919.4 840471.1 ( 1.009) 100-pixel dashed ellipse
672353.1 680652.2 ( 1.012) 100-pixel double-dashed ellipse
13748.9 24287.9 ( 1.767) 100-pixel wide dashed ellipse
9236.3 21298.2 ( 2.306) 100-pixel wide double-dashed ellipse
But part of the reason it's so modest there is that the arcs are
relatively small (100 pixel diameter at line width 10, so ~6000 pixels)
and the dashes relatively large (30 on 20 off so ~6 dashes per
quadrant).
With larger arcs and finer dashes this is much more impressive. A fairly
trivial testcase of a single 15000x13000 arc with the default {2, 2}
dash pattern drops from ~3500 milliseconds to 10 milliseconds.
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||
| .. | ||
| Makefile.am | ||
| mi.h | ||
| miarc.c | ||
| mibitblt.c | ||
| micmap.c | ||
| micmap.h | ||
| micoord.h | ||
| micopy.c | ||
| midash.c | ||
| midispcur.c | ||
| mieq.c | ||
| miexpose.c | ||
| mifillarc.c | ||
| mifillarc.h | ||
| mifillrct.c | ||
| mifpoly.h | ||
| migc.c | ||
| migc.h | ||
| miglblt.c | ||
| miinitext.c | ||
| miline.h | ||
| mioverlay.c | ||
| mioverlay.h | ||
| mipointer.c | ||
| mipointer.h | ||
| mipointrst.h | ||
| mipoly.c | ||
| mipoly.h | ||
| mipolypnt.c | ||
| mipolyrect.c | ||
| mipolyseg.c | ||
| mipolytext.c | ||
| mipushpxl.c | ||
| miscanfill.h | ||
| miscrinit.c | ||
| misprite.c | ||
| misprite.h | ||
| mistruct.h | ||
| mivalidate.h | ||
| mivaltree.c | ||
| miwideline.c | ||
| miwideline.h | ||
| miwindow.c | ||
| mizerarc.c | ||
| mizerarc.h | ||
| mizerclip.c | ||
| mizerline.c | ||