Lines Matching refs:num_threads
749 if (rast->num_threads == 0) {
767 for (i = 0; i < rast->num_threads; i++) {
779 if (rast->num_threads == 0) {
786 for (i = 0; i < rast->num_threads; i++) {
864 /* NOTE: if num_threads is zero, we won't use any threads */
865 for (i = 0; i < rast->num_threads; i++) {
876 * Create new lp_rasterizer. If num_threads is zero, don't create any
878 * \param num_threads number of rasterizer threads to create
881 lp_rast_create( unsigned num_threads )
902 rast->num_threads = num_threads;
909 pipe_barrier_init( &rast->barrier, rast->num_threads );
935 for (i = 0; i < rast->num_threads; i++) {
940 for (i = 0; i < rast->num_threads; i++) {
945 for (i = 0; i < rast->num_threads; i++) {
963 return rast->num_threads;