Home | History | Annotate | Download | only in sna

Lines Matching defs:tor

260 struct tor {
993 tor_fini(struct tor *converter)
1000 tor_init(struct tor *converter, const BoxRec *box, int num_edges)
1024 tor_add_trapezoid(struct tor *tor, const xTrapezoid *t, int dx, int dy)
1036 polygon_add_edge(tor->polygon, t, &t->left, 1, dx, dy);
1037 polygon_add_edge(tor->polygon, t, &t->right, -1, dx, dy);
1108 struct tor *converter,
1183 struct tor *converter,
1517 tor_inplace(struct tor *converter, PixmapPtr scratch)
1768 struct tor tor;
1772 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap))
1784 tor_add_trapezoid(&tor, t, thread->dx, thread->dy);
1787 tor_render(thread->sna, &tor,
1791 tor_fini(&tor);
1914 struct tor tor;
1916 if (!tor_init(&tor, &clip.extents, 2*ntrap))
1924 tor_add_trapezoid(&tor, &traps[n], dx, dy);
1927 tor_render(sna, &tor, &tmp, &clip,
1931 tor_fini(&tor);
2020 struct tor tor;
2024 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap))
2034 tor_add_trapezoid(&tor, t, thread->dx, thread->dy);
2038 tor_inplace(&tor, thread->scratch);
2040 tor_render(NULL, &tor,
2047 tor_fini(&tor);
2126 struct tor tor;
2128 if (!tor_init(&tor, &extents, 2*ntrap)) {
2138 tor_add_trapezoid(&tor, &traps[n], dx, dy);
2142 tor_inplace(&tor, scratch);
2144 tor_render(NULL, &tor,
2150 tor_fini(&tor);
2490 struct tor tor;
2496 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap))
2506 tor_add_trapezoid(&tor, &thread->traps[n], thread->dx, thread->dy);
2525 tor_render(NULL, &tor,
2542 tor_render(NULL, &tor, (void*)&pi, clip, span, false);
2563 tor_render(NULL, &tor,
2572 tor_fini(&tor);
2682 struct tor tor;
2686 if (!tor_init(&tor, &region.extents, 2*ntrap))
2694 tor_add_trapezoid(&tor, &traps[n], dx, dy);
2715 tor_render(NULL, &tor,
2734 tor_render(NULL, &tor,
2759 tor_render(NULL, &tor,
2770 tor_fini(&tor);
2836 struct tor tor;
2839 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap))
2847 tor_add_trapezoid(&tor, &thread->traps[n], thread->dx, thread->dy);
2850 tor_render(NULL, &tor,
2854 tor_fini(&tor);
3016 struct tor tor;
3018 if (!tor_init(&tor, &region.extents, 2*ntrap))
3027 tor_add_trapezoid(&tor, &traps[n], dx, dy);
3031 tor_render(NULL, &tor,
3037 tor_fini(&tor);
3160 struct tor tor;
3162 if (!tor_init(&tor, &extents, 2*ntrap)) {
3172 tor_add_trapezoid(&tor, &traps[n], dx, dy);
3176 tor_inplace(&tor, scratch);
3178 tor_render(NULL, &tor,
3184 tor_fini(&tor);
3268 struct tor tor;
3271 if (!tor_init(&tor, &thread->extents, 2*thread->count))
3277 polygon_add_line(tor.polygon,
3282 polygon_add_line(tor.polygon,
3289 polygon_add_line(tor.polygon,
3296 polygon_add_line(tor.polygon,
3299 assert(tor.polygon->num_edges <= 2*thread->count);
3301 tor_render(thread->sna, &tor,
3305 tor_fini(&tor);
3413 struct tor tor;
3416 if (!tor_init(&tor, &extents, 2*count))
3420 polygon_add_line(tor.polygon,
3425 polygon_add_line(tor.polygon,
3432 polygon_add_line(tor.polygon,
3439 polygon_add_line(tor.polygon,
3442 assert(tor.polygon->num_edges <= 2*count);
3444 tor_render(sna, &tor, &tmp, &clip,
3448 tor_fini(&tor);
3503 struct tor tor;
3546 if (!tor_init(&tor, &extents, 2*ntrap))
3560 polygon_add_line(tor.polygon, &p1, &p2, dx, dy);
3566 polygon_add_line(tor.polygon, &p1, &p2, dx, dy);
3569 tor_render(sna, &tor, &tmp, clip,
3572 tor_fini(&tor);