Examples:

2013-09-30  Sharath Kamath  <s.kamath@samsung.com>

        WebCLCommandQueue supports generic sequences as input in most enqueue* API's.

        Issue #252

        Reviewed by NOBODY (OOPS!).

        API like enqueueNDRangeKernel no more supports null as input for arrays.
        We need to pass a empty array as [] or new Int32Array().

        Also enqueueWriteImage takes a 2D array for region and origin as WebCL does not support 3D images.

        * WebCL/Barkley/index.html:
        * WebCL/Deform/SimCL.js:
        (SimulateCL):
        * 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:

Source/WebCore:

2013-09-30  Sharath Kamath  <s.kamath@samsung.com>

        WebCLCommandQueue API takes sequence for origin and regions.

        Issue #252

        Currently we accept only Int32Array as data type for sequence<CLuint> data types.
        Adding support to support all sequence of type CLuint.

        No new tests (OOPS!).

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):
        * Modules/webcl/WebCLCommandQueue.h:
        * Modules/webcl/WebCLCommandQueue.idl: