summaryrefslogtreecommitdiff
path: root/src/drm
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-12-09 22:00:10 +0100
committerAndrea Canciani <ranma42@gmail.com>2010-12-10 11:04:47 +0100
commit75f34b595aead729b6f6a7017c8790d68dfa0326 (patch)
tree35b9443f58bc7d50199ea18cb367b69a5047cdda /src/drm
parentdf453b7aca5ad7c4b796f150c8a90e78c1b96e04 (diff)
fill: Simplify path to polygon conversion
Using _cairo_path_fixed_interpret_flat() greatly simplifies the path to polygon conversion (because it already converts curve_to's to line_to's). This commit also removes the optimization which merges two consecutive lines if they have the same slope, because it's unlikely (since it should already happen during path construction), it doesn't provide better performance (at least not measurable with the currently available cairo-traces) and bloats the code.
Diffstat (limited to 'src/drm')
0 files changed, 0 insertions, 0 deletions