2013-06-28  Sharath Kamath  <s.kamath@samsung.com>

        Remove current implementation fo SetArg
        Issue #200

        Reviewed by NONE.

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernel.cpp:
        * Modules/webcl/WebCLKernel.h:
        (WebCLKernel):
        * Modules/webcl/WebCLKernel.idl:
        * bindings/js/JSWebCLKernelCustom.cpp:
2013-08-12  Sharath Kamath  <s.kamath@samsung.com>

        Implement SetArg(...) API using "any" IDL attribute.
        Issue #200

        Reviewed by Antonio & Igor.

        Implement void setArg(CLuint index, any value, optional CLtype type);
        Also the values sent by users must be clamped based on the max capacity
        of the type.

        Conformance test cases under conformance/setArg/ folder @
        https://github.com/SRA-SiliconValley/webkit-webcl-conformance

        * Modules/webcl/WebCLCommandQueue.cpp:
        * Modules/webcl/WebCLCommandQueue.h:
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        * Modules/webcl/WebCLKernel.h:
        (WebCore::WebCLKernel::setArg):
        (WebCore::WebCLKernel::setArgHelper):
        (WebCore::size_t):
        (WebCore::WebCLKernel::setMemoryArgHelper):
        * Modules/webcl/WebCLKernel.idl:
        * Modules/webcl/WebCLKernelArgumentTypes.h:
        * Modules/webcl/WebCLKernelArgumentTypes.idl:
        * Modules/webcl/WebCLProgram.cpp:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLKernelCustom.h: Added.
        (WebCore::determineType):
        (WebCore::jsDecodeKernelArgValue):
        * platform/ComputeContext.h:
2013-07-31  Sharath Kamath  <s.kamath@samsung.com>

        Adding Vector support to setArg() API.
        Issue #250

        Reviewed by Igor & Antonio.

        Conformance test cases under conformance/setArg/ folder @
        https://github.com/SRA-SiliconValley/webkit-webcl-conformance

        User can send basic data types as array and indicate the type by
        bitwise OR the type with VEC2, VEC3, VEC4, VEC8 & VEC16.
        If he sends lesser number of elemets it will be padded with 0 to
        fill the size indicated by argtype.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        * Modules/webcl/WebCLKernel.h:
        (WebCore::WebCLKernel::setArgHelper):
        (WebCore::size_t):
        * bindings/js/JSWebCLKernelCustom.h:
        (WebCore::determineVectorSize):
        (WebCore::determineType):
        (WebCore::jsDecodeKernelArgValue):