diff Renderer/Engine/viewer.cc @ 854:6aa20c0dd8f8

may be need ppeManager
author yutaka@localhost.localdomain
date Wed, 09 Jun 2010 23:04:09 +0900
parents 0c7d885f0c92
children f7276b509710
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc	Wed Jun 09 10:33:24 2010 +0900
+++ b/Renderer/Engine/viewer.cc	Wed Jun 09 23:04:09 2010 +0900
@@ -568,14 +568,14 @@
         int rangey = (starty + split_screen_h - 1 > this->height)
             ? this->height - starty + 1 : split_screen_h;
 
-#if 1
+#if 0
 
 	int array_task_num = (this->width + split_screen_w - 1) / split_screen_w;
 	HTaskPtr task_draw_array = manager->create_task_array(DrawSpan, array_task_num, 6, 1, rangey);
 	Task *task_draw = 0;
 
         while (startx < this->width) {
-	  
+	 
 	    // Draw SpanPack
 	  
 	    task_draw = task_draw_array->next_task_array(DrawSpan,task_draw);
@@ -601,8 +601,8 @@
 	      endx = this->width;
 	    }
 	    
-	}
-	
+	}	
+
 	task_draw_array->spawn_task_array(task_draw->next());
 	task_draw_array->set_cpu(SPE_ANY);
 	task_next->wait_for(task_draw_array);