2013-07-03  Sharath Kamath  <s.kamath@samsung.com>

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

        Reviewed by Nobody.

        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.

        No new tests.

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

        Adding Vector support to setArg() API.
        Need the bug URL (OOPS!).

        Reviewed by NOBODY (OOPS!).

        No new tests (OOPS!).

        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):