diff options
author | Andreas Fänger <[email protected]> | 2011-08-10 08:07:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-08-11 08:33:59 -0600 |
commit | e411cd7b0a54d2f9b9f4cda4918aa7742ed5c2a6 (patch) | |
tree | b1d4f68c4a49d4ff7cc36fc03680120c57eb934e /common.py | |
parent | fa351bd2e0aecccd5ed6ef8744d5ba4a6dbf5d2c (diff) |
swrast: initial multi-threaded span rendering
Optional parallel rendering of spans using OpenMP.
Initial implementation for aa triangles. A new option for scons is
also provided to activate the openmp support (off by default).
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common.py b/common.py index 8657030ea3f..cfee1b5dc2e 100644 --- a/common.py +++ b/common.py @@ -88,6 +88,7 @@ def AddOptions(opts): opts.Add('toolchain', 'compiler toolchain', default_toolchain) opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no')) opts.Add(BoolOption('llvm', 'use LLVM', default_llvm)) + opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)', 'no')) opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes')) opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no')) opts.Add(BoolOption('quiet', 'DEPRECATED: profile build', 'yes')) |