- OS: Mac OSX Lion ONLY
- GPU: Nvidia GPU with OpenCL 1.0 support
- clone repository or download a zipped file to your work directory (let's say, ~/work).
- cd webkit
- Tools/Scripts/build-webkit
-
Enable WebGL For older Safari < 5, $ defaults write com.apple.Safari WebKitWebGLEnabled -bool YES For newer Safari 5.1, you need to enable 'Developer' menu from 'Preferences' and check 'Enable WebGL' under the menu. The screenshot of this process is available at http://fairerplatform.com/2011/05/new-in-os-x-lion-safari-5-1-brings-webgl-do-not-track-and-more/.
-
Hello example: $ Tools/Scripts/run-safari Examples/WebCL/Hello/index.html
-
N-body example: $ Tools/Scripts/run-safari Examples/WebCL/Nbody/index.html
-
Deform example: $ Tools/Scripts/run-safari Examples/WebCL/Deform/index.html