softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded softpipe.
authorMichal Krol <michal@ubuntu-vbox.(none)>
Mon, 8 Sep 2008 15:21:13 +0000 (17:21 +0200)
committerMichal Krol <michal@ubuntu-vbox.(none)>
Mon, 8 Sep 2008 15:25:47 +0000 (17:25 +0200)
We want to make it env variable, or even better, autodetect as the feature makes
softpipe run slower on a single CPU.

src/gallium/drivers/softpipe/sp_context.h

index e58f7c8..2b9a2a8 100644 (file)
@@ -48,7 +48,7 @@
 /* Number of threads working on individual quads.
  * Setting to 1 disables this feature.
  */
-#define SP_NUM_QUAD_THREADS 2
+#define SP_NUM_QUAD_THREADS 1
 
 struct softpipe_winsys;
 struct softpipe_vbuf_render;