2013-03-13  Sharath Kamath  <kamath.sharath@gmail.com>

        Route WebCLKernel::setArg() via ComputeContext.
        Issue #162

        Reviewed by Antonio.

        Route calls to clSetKernelArg() opencl API via computeContext.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::create):
        (WebCore::WebCLKernel::WebCLKernel):
        (WebCore::WebCLKernel::setArg):
        (WebCore):
        (WebCore::WebCLKernel::setKernelArgPrimitiveType):
        (WebCore::WebCLKernel::setKernelArgVectorType):
        (WebCore::WebCLKernel::getCLKernel):
        * Modules/webcl/WebCLKernel.h:
        (WebCLKernel):
        * Modules/webcl/WebCLKernelTypes.cpp:
        (WebCore::WebCLKernelTypeValue::asVector):
        (WebCore::WebCLKernelTypeVector::asVector):
        * Modules/webcl/WebCLKernelTypes.h:
        (WebCLKernelTypeValue):
        (WebCLKernelTypeVector):
        * platform/ComputeContext.h:
        * platform/ComputeTypes.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::setKernelArg):
        (WebCore):
2013-03-13  Sharath Kamath  <kamath.sharath@gmail.com>

        kernel.setArg doesnt not support LOCAL_MEM_SIZE.
        Issue #118

        Reviewed by Antonio.

        LOCAL_MEM_SIZE is used to create a __local paramater in OpenCL kernel.
        This needs to be supported by WebCL.

        Adding support to LOCAL_MEM_SIZE in ComputeContext.h & also a switch case
        in setArg().

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        * platform/ComputeContext.h: