Since we're only doing software rasterization right now, anyway, it makes more sense to just rasterize to system memory and then upload to a pixmap once complete. This avoids expensive read-modify-write cycles. This results in a 2.4x speedup for a real-world test case that's heavy on trapezoids, which is swfdec running on the following file: http://michalevy.com/wp-content/uploads/Giant%20Steps%202007.swf Many thanks to Chris Wilson for his cairo-traces repository and cairo-perf-trace tool which makes it so easy to measure things like this. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| uxa-accel.c | ||
| uxa-glyphs.c | ||
| uxa-priv.h | ||
| uxa-render.c | ||
| uxa-unaccel.c | ||
| uxa.c | ||
| uxa.h | ||