summaryrefslogtreecommitdiff
path: root/util/show-traps.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray _GNU_SOURCE definitionsEmmanuele Bassi2021-05-011-1/+2
| | | | | | We define _GNU_SOURCE globally in both the Autotools build, through the use of the AC_USE_SYSTEM_EXTENSIONS macro; and in the Meson build, with add_project_arguments().
* util/show-traps: Cache the rendering of the traps+edgesChris Wilson2011-08-121-14/+86
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* Eliminate self-intersecting strokes.Chris Wilson2009-08-291-0/+1239
We refactor the surface fallbacks to convert full strokes and fills to the intermediate polygon representation (as opposed to before where we returned the trapezoidal representation). This allow greater flexibility to choose how then to rasterize the polygon. Where possible we use the local spans rasteriser for its increased performance, but still have the option to use the tessellator instead (for example, with the current Render protocol which does not yet have a polygon image). In order to accommodate this, the spans interface is tweaked to accept whole polygons instead of a path and the tessellator is tweaked for speed. Performance Impact ================== ... Still measuring, expecting some severe regressions. ...