2013-09-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLCommandQueue::finish does not need to be 'Custom'
        Issue #313

        Reviewed by TrustMe.

        * Modules/webcl/WebCLCommandQueue.idl:
        * bindings/js/JSWebCLCommandQueueCustom.cpp:
        (WebCore::JSWebCLCommandQueue::getInfo):
2013-10-19  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        createBuffer should take a ArrayBufferView instead of ArrayBuffer
        Issue #318

        Reviewed by NOBODY (OOPS!).

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createBuffer):
        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLContext.idl:
2013-09-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Prototype implemetation of the new Kernel::setArg methods.
        Issue #307

        Reviewed by Igor.

        New straight forward Kernel::setArg implementation,
        based on TypedArrays.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLKernel.idl:
2013-09-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Prototype implemetation of the new Kernel::setArg methods (part II).
        Issue #307

        Reviewed by Igor.

        Old implementation being removed.

        * DerivedSources.make:
        * Modules/webcl/WebCLKernel.cpp:
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLKernel.idl:
        * Modules/webcl/WebCLKernelArgumentTypes.cpp: Removed.
        * Modules/webcl/WebCLKernelArgumentTypes.h: Removed.
        * Modules/webcl/WebCLKernelArgumentTypes.idl: Removed.
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLKernelCustom.h: Removed.
2013-09-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Prototype implemetation of the new Kernel::setArg methods (part III).
        Issue #307

        Reviewed by Igor.

        Updated the various demos to the new TypedArray-based setArg API.

        * 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/RippleEffect/FilterCL.js:
        (runRippleCL):
        * WebCL/SmallPathTracing/webcl-smallpt.js:
        (executeKernel):
        * 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:
2013-10-25  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Implement a simpler setArg parser, in order to support __LOCAL_MEMORY_SIZE parameters
        Issue #319

        Reviewed by Igor.

        Patch implements a simpler kernel argument parser in order to
        support the __local qualifier. This first version supports also
        __global and const qualifiers, and can be further fine grained
        for all argument validation checks.

        TODO:
            - support "global" in addition to __global;
            - ditto for local and __local;
            - ditto for const and __const;
            - make the current simple string search based approach more
            robust: if a kernel is named "xx" and in the program source
            there is any "xx" substring before the kernel declaration, the
            search will fail to find the actual kernel;
            - add support for argument type queries.

        Source/WebCore:
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::WebCLKernel):
        (WebCore::WebCLKernel::argument):
        (WebCore::WebCLKernel::setArg):
        (WebCore::isASCIILineBreak):
        (WebCore::WebCLKernel::ArgumentList::ArgumentList):
        (WebCore::WebCLKernel::ArgumentList::it):
        (WebCore::WebCLKernel::ArgumentList::ensureArgumentData):
        (WebCore::WebCLKernel::Argument::Argument):
        (WebCore::WebCLKernel::Argument::hasQualifier):
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::create):
        (WebCore::WebCLProgram::WebCLProgram):
        (WebCore::WebCLProgram::getInfo):
        (WebCore::WebCLProgram::createKernelsInProgram):
        (WebCore::WebCLProgram::source):
        * Modules/webcl/WebCLProgram.h:

        Examples:
        * WebCL/Nbody/SimCL.js:
        (SimulateCL):