Lines Matching refs:threads
1930 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1951 struct span_thread threads[num_threads];
1954 DBG(("%s: using %d threads for span compositing %dx%d\n",
1959 threads[0].sna = sna;
1960 threads[0].op = &tmp;
1961 threads[0].traps = traps;
1962 threads[0].ntrap = ntrap;
1963 threads[0].extents = clip.extents;
1964 threads[0].clip = &clip;
1965 threads[0].dx = dx;
1966 threads[0].dy = dy;
1967 threads[0].draw_y = dst->pDrawable->y;
1968 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
1969 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
1977 threads[n] = threads[0];
1978 threads[n].extents.y1 = y;
1979 threads[n].extents.y2 = y += h;
1981 sna_threads_run(n, span_thread, &threads[n]);
1984 assert(y < threads[0].extents.y2);
1985 threads[0].extents.y1 = y;
1986 span_thread(&threads[0]);
2799 struct inplace_x8r8g8b8_thread threads[num_threads];
2802 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
2807 threads[0].traps = traps;
2808 threads[0].ntrap = ntrap;
2809 threads[0].extents = region.extents;
2810 threads[0].lerp = lerp;
2811 threads[0].is_solid = is_solid;
2812 threads[0].color = color;
2813 threads[0].dx = dx;
2814 threads[0].dy = dy;
2815 threads[0].dst = dst;
2816 threads[0].src = src;
2817 threads[0].op = op;
2818 threads[0].src_x = src_x;
2819 threads[0].src_y = src_y;
2828 threads[n] = threads[0];
2829 threads[n].extents.y1 = y;
2830 threads[n].extents.y2 = y += h;
2832 sna_threads_run(n, inplace_x8r8g8b8_thread, &threads[n]);
2835 assert(y < threads[0].extents.y2);
2836 threads[0].extents.y1 = y;
2837 inplace_x8r8g8b8_thread(&threads[0]);
3067 struct inplace_thread threads[num_threads];
3070 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
3075 threads[0].traps = traps;
3076 threads[0].ntrap = ntrap;
3077 threads[0].inplace = inplace;
3078 threads[0].extents = region.extents;
3079 threads[0].clip = dst->pCompositeClip;
3080 threads[0].span = span;
3081 threads[0].unbounded = unbounded;
3082 threads[0].dx = dx;
3083 threads[0].dy = dy;
3084 threads[0].draw_x = dst->pDrawable->x;
3085 threads[0].draw_y = dst->pDrawable->y;
3094 threads[n] = threads[0];
3095 threads[n].extents.y1 = y;
3096 threads[n].extents.y2 = y += h;
3098 sna_threads_run(n, inplace_thread, &threads[n]);
3101 assert(y < threads[0].extents.y2);
3102 threads[0].extents.y1 = y;
3103 inplace_thread(&threads[0]);
3887 struct tristrip_thread threads[num_threads];
3890 DBG(("%s: using %d threads for tristrip compositing %dx%d\n",
3895 threads[0].sna = sna;
3896 threads[0].op = &tmp;
3897 threads[0].points = points;
3898 threads[0].count = count;
3899 threads[0].extents = clip.extents;
3900 threads[0].clip = &clip;
3901 threads[0].dx = dx;
3902 threads[0].dy = dy;
3903 threads[0].draw_y = dst->pDrawable->y;
3904 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
3905 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
3913 threads[n] = threads[0];
3914 threads[n].extents.y1 = y;
3915 threads[n].extents.y2 = y += h;
3917 sna_threads_run(n, tristrip_thread, &threads[n]);
3920 assert(y < threads[0].extents.y2);
3921 threads[0].extents.y1 = y;
3922 tristrip_thread(&threads[0]);