Part 1: WebCLKernel.idl: setArg declaration is wrong
Examples:

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

        WebCLKernel.idl: setArg declaration is wrong
        Issue #200

        Reviewed by NOBODY (OOPS!).

        * WebCL/Nbody/SimCL.js:
        (SimulateCL): Use LOCAL_MEMORY_SIZE.

Source/WebCore:

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

        WebCLKernel.idl: setArg declaration is wrong
        Issue #200

        setArg() take only 3 param as per specification.
        void setArg(CLuint index, any value, optional CLtype type)

        Any value can be Value, Vector or Memory Object.

        Adding support and reducing code in custom binding function.

        Reviewed by NOBODY (OOPS!).

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        (WebCore::WebCLKernel::setKernelArgVectorType):
        * Modules/webcl/WebCLKernel.h:
        (WebCore):
        (WebCLKernel):
        * Modules/webcl/WebCLKernel.idl:
        * Modules/webcl/WebCLKernelTypes.cpp:
        (WebCore::WebCLKernelTypeValue::asNumber):
        (WebCore::WebCLKernelTypeValue::asValue):
        (WebCore::WebCLKernelTypeValue::asObject):
        (WebCore::WebCLKernelTypeValue::isNumber):
        (WebCore):
        (WebCore::WebCLKernelTypeValue::isVector):
        (WebCore::WebCLKernelTypeBasicValue::asNumber):
        (WebCore::WebCLKernelTypeObject::asObject):
        (WebCore::WebCLKernelTypeObject::isMemoryObject):
        (WebCore::WebCLKernelMemoryObject::~WebCLKernelMemoryObject):
        (WebCore::WebCLKernelMemoryObject::asObject):
        (WebCore::WebCLKernelMemoryObject::getObject):
        * Modules/webcl/WebCLKernelTypes.h:
        (WebCore):
        (WebCLKernelTypeValue):
        (WebCore::WebCLKernelTypeValue::type):
        (WebCore::WebCLKernelTypeValue::WebCLKernelTypeValue):
        (WebCore::WebCLKernelTypeBasicValue::create):
        (WebCLKernelTypeBasicValue):
        (WebCore::WebCLKernelTypeBasicValue::WebCLKernelTypeBasicValue):
        (WebCLKernelTypeObject):
        (WebCore::WebCLKernelTypeObject::WebCLKernelTypeObject):
        (WebCLKernelMemoryObject):
        (WebCore::WebCLKernelMemoryObject::create):
        (WebCore::WebCLKernelMemoryObject::WebCLKernelMemoryObject):
        (WebCLKernelTypeVector):
        * bindings/js/JSWebCLKernelCustom.cpp:
        (WebCore::JSWebCLKernel::setArg):
        * bindings/js/ScriptValue.cpp:
        (WebCore::jsToWebCLKernelTypeValue):
2013-03-27  Sharath Kamath  <kamath.sharath@gmail.com>

        ComputeContext::createImage2D throws exception on OpenCL1.2
        Issue #201

        As c style structures do not get initialised with 0, we need
        to initialize cl_image_desc object to default values.

        Reviewed by Antonio.

        No new tests (OOPS!).

        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::createImage2D): Initialize all values to 0.
        Explicit values can be set individually as need arises.