Mesa (master): llvmpipe: Re-enable threading on windows.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Jul 12 14:41:21 UTC 2010
Module: Mesa
Branch: master
Commit: cd629c28d73703a44f4b74ba0e8eb87c51eee32a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd629c28d73703a44f4b74ba0e8eb87c51eee32a
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Jul 12 15:00:56 2010 +0100
llvmpipe: Re-enable threading on windows.
---
src/gallium/drivers/llvmpipe/lp_screen.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index edcab0f..e151782 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -349,11 +349,6 @@ llvmpipe_create_screen(struct sw_winsys *winsys)
lp_jit_screen_init(screen);
-#ifdef PIPE_OS_WINDOWS
- /* Multithreading not supported on windows until conditions and barriers are
- * properly implemented. */
- screen->num_threads = 0;
-#else
#ifdef PIPE_OS_EMBEDDED
screen->num_threads = 0;
#else
@@ -361,7 +356,6 @@ llvmpipe_create_screen(struct sw_winsys *winsys)
#endif
screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads);
screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS);
-#endif
util_format_s3tc_init();
More information about the mesa-commit
mailing list