Source/WebCore:

2013-08-29  Sharath Kamath  <s.kamath@samsung.com>

        Refactor enqueueNDRangeKernel adding work dimemsion parameter.
        Issue #285

        Also add other checking on the parameter as per updated specification.

        Reviewed by Antonio.

        No new tests (OOPS!).

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        * Modules/webcl/WebCLCommandQueue.h:
        * Modules/webcl/WebCLCommandQueue.idl:

Example:

2013-08-29  Sharath Kamath  <s.kamath@samsung.com>

        Refactor enqueueNDRangeKernel api calls adding work dimension explicitly.
        Issue #285

        Reviewed by Antonio.

        * WebCL/Barkley/index.html:
        * WebCL/Deform/SimCL.js:
        (SimulateCL):
        * WebCL/FluidDynamics/index.html:
        * WebCL/Hello/index.html:
        * WebCL/Ising/index.html:
        * WebCL/Mandelbrot/index.html:
        * WebCL/N-Field/index.html:
        * WebCL/Nbody/SimCL.js:
        (SimulateCL):
        * WebCL/PathIntegrals/index.html:
        * WebCL/Random/Framework.js:
        (Framework.):
        * WebCL/RippleEffect/FilterCL.js:
        (runRippleCL):
        * WebCL/SmallPathTracing/webcl-smallpt.js:
        (executeKernel):
        * WebCL/SmokeVision/scalarField.js:
        (ScalarField.prototype.draw):
        (ScalarField.prototype.addField):
        (ScalarField.prototype.diffusion):
        (ScalarField.prototype.advection):
        (ScalarField.prototype.setBoundaryDensities):
        * WebCL/SmokeVision/vectorField.js:
        (VectorField.prototype.addField):
        (VectorField.prototype.diffusion):
        (VectorField.prototype.projection):
        (VectorField.prototype.advection):
        (VectorField.prototype.vorticityConfinement):
        (VectorField.prototype.setBoundaryVelocities):
        (VectorField.prototype.setScalarFieldDensities):
        * WebCL/Sobel-CorG/index.html:
        * WebCL/VideoCube/sobelCL.js:
        (sobelCL):
        * WebCL/XY/index.html:
        * WebCL/XY3D/index.html: