| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_screen.h | 52 unsigned num_threads; member in struct:llvmpipe_screen
|
| H A D | lp_query.c | 99 unsigned num_threads = MAX2(1, screen->num_threads); local in function:llvmpipe_get_query_result 123 for (i = 0; i < num_threads; i++) { 129 for (i = 0; i < num_threads; i++) { 135 for (i = 0; i < num_threads; i++) { 173 for (i = 0; i < num_threads; i++) {
|
| H A D | lp_rast.c | 724 if (rast->num_threads == 0) { 750 for (i = 0; i < rast->num_threads; i++) { 762 if (rast->num_threads == 0) { 769 for (i = 0; i < rast->num_threads; i++) { 863 /* NOTE: if num_threads is zero, we won't use any threads */ 864 for (i = 0; i < rast->num_threads; i++) { 875 * Create new lp_rasterizer. If num_threads is zero, don't create any 877 * \param num_threads number of rasterizer threads to create 880 lp_rast_create( unsigned num_threads ) argument 895 for (i = 0; i < MAX2(1, num_threads); [all...] |
| H A D | lp_screen.c | 703 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; 705 screen->num_threads = 0; 707 screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads); 708 screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS); 710 screen->rast = lp_rast_create(screen->num_threads);
|
| H A D | lp_setup_context.h | 89 unsigned num_threads; member in struct:lp_setup_context
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_cs_tpool.h | 49 unsigned num_threads; member in struct:lp_cs_tpool 73 struct lp_cs_tpool *lp_cs_tpool_create(unsigned num_threads);
|
| H A D | lp_cs_tpool.c | 87 lp_cs_tpool_create(unsigned num_threads) argument 98 assert (num_threads <= LP_MAX_THREADS); 99 pool->num_threads = num_threads; 100 for (unsigned i = 0; i < num_threads; i++) 116 for (unsigned i = 0; i < pool->num_threads; i++) { 131 if (pool->num_threads == 0) { 150 task->iter_per_thread = num_iters / pool->num_threads; 151 task->iter_remainder = num_iters % pool->num_threads;
|
| H A D | lp_screen.h | 52 unsigned num_threads; member in struct:llvmpipe_screen
|
| H A D | lp_query.c | 100 unsigned num_threads = MAX2(1, screen->num_threads); local in function:llvmpipe_get_query_result 124 for (i = 0; i < num_threads; i++) { 130 for (i = 0; i < num_threads; i++) { 136 for (i = 0; i < num_threads; i++) { 144 for (i = 0; i < num_threads; i++) { 189 for (i = 0; i < num_threads; i++) { 214 unsigned num_threads = MAX2(1, screen->num_threads); local in function:llvmpipe_get_query_result_resource 243 for (i = 0; i < num_threads; [all...] |
| H A D | lp_rast.c | 1133 if (rast->num_threads == 0) { 1159 for (i = 0; i < rast->num_threads; i++) { 1171 if (rast->num_threads == 0) { 1178 for (i = 0; i < rast->num_threads; i++) { 1272 /* NOTE: if num_threads is zero, we won't use any threads */ 1273 for (i = 0; i < rast->num_threads; i++) { 1279 rast->num_threads = i; /* previous thread is max */ 1288 * Create new lp_rasterizer. If num_threads is zero, don't create any 1290 * \param num_threads number of rasterizer threads to create 1293 lp_rast_create( unsigned num_threads ) argument [all...] |
| H A D | lp_screen.c | 986 screen->rast = lp_rast_create(screen->num_threads); 992 screen->cs_tpool = lp_cs_tpool_create(screen->num_threads); 1065 screen->num_threads = util_get_cpu_caps()->nr_cpus > 1 ? util_get_cpu_caps()->nr_cpus : 0; 1067 screen->num_threads = MIN2(screen->num_threads, 2); 1069 screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads); 1070 screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS);
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_threads.c | 257 int num_threads; local in function:sna_use_threads 268 num_threads = height * max_threads / threshold - 1; 269 if (num_threads <= 0) 272 if (num_threads > max_threads) 273 num_threads = max_threads; 274 if (num_threads > height) 275 num_threads = height; 277 return num_threads; 312 int num_threads; local in function:sna_image_composite 314 num_threads [all...] |
| H A D | sna_trapezoids_precise.c | 1813 int num_threads; local in function:precise_trapezoid_span_converter 1904 num_threads = 1; 1909 num_threads = sna_use_threads(clip.extents.x2-clip.extents.x1, 1912 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads)); 1913 if (num_threads == 1) { 1933 struct span_thread threads[num_threads]; 1937 __FUNCTION__, num_threads, 1955 h = (h + num_threads - 1) / num_threads; 1956 num_threads 2060 int num_threads; local in function:precise_trapezoid_mask_converter 2586 int num_threads, n; local in function:trapezoid_span_inplace__x8r8g8b8 2875 int num_threads, n; local in function:precise_trapezoid_span_inplace 3097 int dx, dy, num_threads; local in function:precise_trapezoid_span_fallback 3325 int dx, dy, num_threads; local in function:precise_tristrip_span_converter [all...] |
| H A D | sna_trapezoids_imprecise.c | 1868 int num_threads; local in function:imprecise_trapezoid_span_converter 1959 num_threads = 1; 1964 num_threads = sna_use_threads(clip.extents.x2-clip.extents.x1, 1967 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads)); 1968 if (num_threads == 1) { 1988 struct span_thread threads[num_threads]; 1992 __FUNCTION__, num_threads, 2010 h = (h + num_threads - 1) / num_threads; 2011 num_threads 2578 int num_threads, n; local in function:trapezoid_span_inplace__x8r8g8b8 2865 int num_threads, n; local in function:imprecise_trapezoid_span_inplace 3720 int dx, dy, num_threads; local in function:imprecise_tristrip_span_converter [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_threads.c | 257 int num_threads; local in function:sna_use_threads 268 num_threads = height * max_threads / threshold - 1; 269 if (num_threads <= 0) 272 if (num_threads > max_threads) 273 num_threads = max_threads; 274 if (num_threads > height) 275 num_threads = height; 277 return num_threads; 312 int num_threads; local in function:sna_image_composite 314 num_threads [all...] |
| H A D | sna_trapezoids_precise.c | 1775 int num_threads; local in function:precise_trapezoid_span_converter 1866 num_threads = 1; 1871 num_threads = sna_use_threads(clip.extents.x2-clip.extents.x1, 1874 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads)); 1875 if (num_threads == 1) { 1895 struct span_thread threads[num_threads]; 1899 __FUNCTION__, num_threads, 1917 h = (h + num_threads - 1) / num_threads; 1918 num_threads 2022 int num_threads; local in function:precise_trapezoid_mask_converter 2617 int num_threads, n; local in function:trapezoid_span_inplace__x8r8g8b8 2914 int num_threads, n; local in function:precise_trapezoid_span_inplace 3142 int dx, dy, num_threads; local in function:precise_trapezoid_span_fallback 3371 int dx, dy, num_threads; local in function:precise_tristrip_span_converter [all...] |
| H A D | sna_trapezoids_imprecise.c | 1831 int num_threads; local in function:imprecise_trapezoid_span_converter 1922 num_threads = 1; 1927 num_threads = sna_use_threads(clip.extents.x2-clip.extents.x1, 1930 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads)); 1931 if (num_threads == 1) { 1951 struct span_thread threads[num_threads]; 1955 __FUNCTION__, num_threads, 1973 h = (h + num_threads - 1) / num_threads; 1974 num_threads 2608 int num_threads, n; local in function:trapezoid_span_inplace__x8r8g8b8 2900 int num_threads, n; local in function:imprecise_trapezoid_span_inplace 3762 int dx, dy, num_threads; local in function:imprecise_tristrip_span_converter [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | u_queue.c | 309 while (thread_index < queue->num_threads && queue->num_queued == 0) 312 /* only kill threads that are above "num_threads" */ 313 if (thread_index >= queue->num_threads) { 339 if (queue->num_threads == 0) { 388 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads) argument 390 num_threads = MIN2(num_threads, queue->max_threads); 391 num_threads = MAX2(num_threads, 1); 394 unsigned old_num_threads = queue->num_threads; 421 util_queue_init(struct util_queue * queue,const char * name,unsigned max_jobs,unsigned num_threads,unsigned flags,void * global_data) argument [all...] |
| H A D | u_queue.h | 208 simple_mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */ 216 unsigned num_threads; /* decreasing this number will terminate threads */ member in struct:util_queue 230 unsigned num_threads, 252 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | u_queue.c | 300 while (thread_index < queue->num_threads && queue->num_queued == 0) 303 /* only kill threads that are above "num_threads" */ 304 if (thread_index >= queue->num_threads) { 327 if (queue->num_threads == 0) { 374 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads) argument 376 num_threads = MIN2(num_threads, queue->max_threads); 377 num_threads = MAX2(num_threads, 1); 380 unsigned old_num_threads = queue->num_threads; 407 util_queue_init(struct util_queue * queue,const char * name,unsigned max_jobs,unsigned num_threads,unsigned flags) argument [all...] |
| H A D | u_queue.h | 204 mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */ 212 unsigned num_threads; /* decreasing this number will terminate threads */ member in struct:util_queue 224 unsigned num_threads, 244 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | evergreen_compute.c | 1025 int num_threads; local in function:evergreen_init_atom_start_compute_cs 1041 num_threads = 128; 1045 num_threads = 128; 1049 num_threads = 128; 1054 num_threads = 128; 1058 num_threads = 128; 1062 num_threads = 128; 1066 num_threads = 128; 1070 num_threads = 128; 1074 num_threads [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | evergreen_compute.c | 1057 int num_threads; local in function:evergreen_init_atom_start_compute_cs 1073 num_threads = 128; 1077 num_threads = 128; 1081 num_threads = 128; 1086 num_threads = 128; 1090 num_threads = 128; 1094 num_threads = 128; 1098 num_threads = 128; 1102 num_threads = 128; 1106 num_threads [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_compute.c | 111 int g_w, int g_h, int g_d, int num_threads, 119 for (i = 0; i < num_threads; i++) { 110 run_workgroup(const struct sp_compute_shader * cs,int g_w,int g_h,int g_d,int num_threads,struct tgsi_exec_machine ** machines) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_compute.c | 111 int g_w, int g_h, int g_d, int num_threads, 119 for (i = 0; i < num_threads; i++) { 110 run_workgroup(const struct sp_compute_shader * cs,int g_w,int g_h,int g_d,int num_threads,struct tgsi_exec_machine ** machines) argument
|