Home | History | Annotate | Download | only in sna

Lines Matching refs:threads

1874 	DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1895 struct span_thread threads[num_threads];
1898 DBG(("%s: using %d threads for span compositing %dx%d\n",
1903 threads[0].sna = sna;
1904 threads[0].op = &tmp;
1905 threads[0].traps = traps;
1906 threads[0].ntrap = ntrap;
1907 threads[0].extents = clip.extents;
1908 threads[0].clip = &clip;
1909 threads[0].dx = dx;
1910 threads[0].dy = dy;
1911 threads[0].draw_y = dst->pDrawable->y;
1912 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
1913 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
1921 threads[n] = threads[0];
1922 threads[n].extents.y1 = y;
1923 threads[n].extents.y2 = y += h;
1925 sna_threads_run(n, span_thread, &threads[n]);
1928 assert(y < threads[0].extents.y2);
1929 threads[0].extents.y1 = y;
1930 span_thread(&threads[0]);
2114 struct mask_thread threads[num_threads];
2117 DBG(("%s: using %d threads for mask compositing %dx%d\n",
2122 threads[0].scratch = scratch;
2123 threads[0].traps = traps;
2124 threads[0].ntrap = ntrap;
2125 threads[0].extents = extents;
2126 threads[0].dx = dx;
2127 threads[0].dy = dy;
2128 threads[0].dst_y = dst_y;
2136 threads[n] = threads[0];
2137 threads[n].extents.y1 = y;
2138 threads[n].extents.y2 = y += h;
2140 sna_threads_run(n, mask_thread, &threads[n]);
2143 assert(y < threads[0].extents.y2);
2144 threads[0].extents.y1 = y;
2145 mask_thread(&threads[0]);
2813 struct inplace_x8r8g8b8_thread threads[num_threads];
2816 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
2821 threads[0].traps = traps;
2822 threads[0].ntrap = ntrap;
2823 threads[0].extents = region.extents;
2824 threads[0].lerp = lerp;
2825 threads[0].is_solid = is_solid;
2826 threads[0].color = color;
2827 threads[0].dx = dx;
2828 threads[0].dy = dy;
2829 threads[0].dst = dst;
2830 threads[0].src = src;
2831 threads[0].op = op;
2832 threads[0].src_x = src_x;
2833 threads[0].src_y = src_y;
2842 threads[n] = threads[0];
2843 threads[n].extents.y1 = y;
2844 threads[n].extents.y2 = y += h;
2846 sna_threads_run(n, inplace_x8r8g8b8_thread, &threads[n]);
2849 assert(y < threads[0].extents.y2);
2850 threads[0].extents.y1 = y;
2851 inplace_x8r8g8b8_thread(&threads[0]);
3084 struct inplace_thread threads[num_threads];
3087 DBG(("%s: using %d threads for inplace compositing %dx%d\n",
3092 threads[0].traps = traps;
3093 threads[0].ntrap = ntrap;
3094 threads[0].inplace = inplace;
3095 threads[0].extents = region.extents;
3096 threads[0].clip = dst->pCompositeClip;
3097 threads[0].span = span;
3098 threads[0].unbounded = unbounded;
3099 threads[0].dx = dx;
3100 threads[0].dy = dy;
3101 threads[0].draw_x = dst->pDrawable->x;
3102 threads[0].draw_y = dst->pDrawable->y;
3111 threads[n] = threads[0];
3112 threads[n].extents.y1 = y;
3113 threads[n].extents.y2 = y += h;
3115 sna_threads_run(n, inplace_thread, &threads[n]);
3118 assert(y < threads[0].extents.y2);
3119 threads[0].extents.y1 = y;
3120 inplace_thread(&threads[0]);
3231 struct mask_thread threads[num_threads];
3234 DBG(("%s: using %d threads for mask compositing %dx%d\n",
3239 threads[0].scratch = scratch;
3240 threads[0].traps = traps;
3241 threads[0].ntrap = ntrap;
3242 threads[0].extents = extents;
3243 threads[0].dx = dx;
3244 threads[0].dy = dy;
3245 threads[0].dst_y = dst_y;
3253 threads[n] = threads[0];
3254 threads[n].extents.y1 = y;
3255 threads[n].extents.y2 = y += h;
3257 sna_threads_run(n, mask_thread, &threads[n]);
3260 assert(y < threads[0].extents.y2);
3261 threads[0].extents.y1 = y;
3262 mask_thread(&threads[0]);
3496 struct tristrip_thread threads[num_threads];
3499 DBG(("%s: using %d threads for tristrip compositing %dx%d\n",
3504 threads[0].sna = sna;
3505 threads[0].op = &tmp;
3506 threads[0].points = points;
3507 threads[0].count = count;
3508 threads[0].extents = clip.extents;
3509 threads[0].clip = &clip;
3510 threads[0].dx = dx;
3511 threads[0].dy = dy;
3512 threads[0].draw_y = dst->pDrawable->y;
3513 threads[0].unbounded = !was_clear && maskFormat && !operator_is_bounded(op);
3514 threads[0].span = thread_choose_span(&tmp, dst, maskFormat, &clip);
3522 threads[n] = threads[0];
3523 threads[n].extents.y1 = y;
3524 threads[n].extents.y2 = y += h;
3526 sna_threads_run(n, tristrip_thread, &threads[n]);
3529 assert(y < threads[0].extents.y2);
3530 threads[0].extents.y1 = y;
3531 tristrip_thread(&threads[0]);