Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-06-19 01:20:11 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-19 01:20:11 +0400
commit77dde3db08f3869b00b3147a1bf55d7fb0bae87e (patch)
tree5f936068a8b6379e52142e1e0304cd6d159e59bd /source/blender/compositor/COM_defines.h
parentc9e98e848d18959a21596e98e786cb8898fee20c (diff)
* Enabled OpenCL for the compositor
Tested on: - Windows32 ATI V5800 - Linux64 GTX360M - Linux64 Quadro FX360M The ATI is much more stable as the Nvidia platforms. We have tested a different scheduling that will speed up for AMD (not checked in yet) It compiles on all platforms, but fails on our MAC book Pro. Black lines are produced on the top of a opencl workgroup. By using localworksize we were able to remove these lines, but are not satisfied at this solution (so will not check this in yet). Please everyone check if it works on your configuration and add Bugs when needed. To test you need to add a BokehBlur to your scene and enable the OpenCL flag in the property panel.
Diffstat (limited to 'source/blender/compositor/COM_defines.h')
-rw-r--r--source/blender/compositor/COM_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/COM_defines.h b/source/blender/compositor/COM_defines.h
index 57b73c836df..e11048b23f3 100644
--- a/source/blender/compositor/COM_defines.h
+++ b/source/blender/compositor/COM_defines.h
@@ -67,7 +67,7 @@ typedef enum CompositorPriority {
// chunk size determination
#define COM_PREVIEW_SIZE 140.0f
-//#define COM_OPENCL_ENABLED
+#define COM_OPENCL_ENABLED
//#define COM_DEBUG
// workscheduler threading models