Home | History | Annotate | Download | only in sna

Lines Matching refs:threads

1967 	DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1988 struct span_thread threads[num_threads];
1991 DBG(("%s: using %d threads for span compositing %dx%d\n",
1996 threads[0].sna = sna;
1997 threads[0].op = &tmp;
1998 threads[0].traps = traps;
1999 threads[0].ntrap = ntrap;
2000 threads[0].extents = clip.extents;
2001 threads[0].clip = &clip;
2002 threads[0].dx = dx;
2003 threads[0].dy = dy;
2004 threads[0].draw_y = dst->pDrawable->y;
2005 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
2006 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
2014 threads[n] = threads[0];
2015 threads[n].extents.y1 = y;
2016 threads[n].extents.y2 = y += h;
2018 threads[n]);
2021 assert(y < threads[0].extents.y2);
2022 threads[0].extents.y1 = y;
2023 span_thread(&threads[0]);
2762 struct inplace_x8r8g8b8_thread threads[num_threads];
2765 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
2770 threads[0].traps = traps;
2771 threads[0].ntrap = ntrap;
2772 threads[0].extents = region.extents;
2773 threads[0].lerp = lerp;
2774 threads[0].is_solid = is_solid;
2775 threads[0].color = color;
2776 threads[0].dx = dx;
2777 threads[0].dy = dy;
2778 threads[0].dst = dst;
2779 threads[0].src = src;
2780 threads[0].op = op;
2781 threads[0].src_x = src_x;
2782 threads[0].src_y = src_y;
2791 threads[n] = threads[0];
2792 threads[n].extents.y1 = y;
2793 threads[n].extents.y2 = y += h;
2795 sna_threads_run(n, inplace_x8r8g8b8_thread, &threads[n]);
2798 assert(y < threads[0].extents.y2);
2799 threads[0].extents.y1 = y;
2800 inplace_x8r8g8b8_thread(&threads[0]);
3026 struct inplace_thread threads[num_threads];
3029 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
3034 threads[0].traps = traps;
3035 threads[0].ntrap = ntrap;
3036 threads[0].inplace = inplace;
3037 threads[0].clipped = clipped;
3038 threads[0].extents = region.extents;
3039 threads[0].span = span;
3040 threads[0].unbounded = unbounded;
3041 threads[0].dx = dx;
3042 threads[0].dy = dy;
3043 threads[0].draw_x = dst->pDrawable->x;
3044 threads[0].draw_y = dst->pDrawable->y;
3053 threads[n] = threads[0];
3054 threads[n].extents.y1 = y;
3055 threads[n].extents.y2 = y += h;
3057 sna_threads_run(n, inplace_thread, &threads[n]);
3060 assert(y < threads[0].extents.y2);
3061 threads[0].extents.y1 = y;
3062 inplace_thread(&threads[0]);
3845 struct tristrip_thread threads[num_threads];
3848 DBG(("%s: using %d threads for tristrip compositing %dx%d\n",
3853 threads[0].sna = sna;
3854 threads[0].op = &tmp;
3855 threads[0].points = points;
3856 threads[0].count = count;
3857 threads[0].extents = clip.extents;
3858 threads[0].clip = &clip;
3859 threads[0].dx = dx;
3860 threads[0].dy = dy;
3861 threads[0].draw_y = dst->pDrawable->y;
3862 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
3863 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
3871 threads[n] = threads[0];
3872 threads[n].extents.y1 = y;
3873 threads[n].extents.y2 = y += h;
3875 sna_threads_run(n, tristrip_thread, &threads[n]);
3878 assert(y < threads[0].extents.y2);
3879 threads[0].extents.y1 = y;
3880 tristrip_thread(&threads[0]);