2013-09-23  Sharath Kamath  <s.kamath@samsung.com>

        Suppport rowPitch parameter when creating images.
        Issue #183

        Reviewed by Antonio.

        Add rowPitch support to createImage() API family.
        Also check for sanity on rowPitch value and the ArrayBuffer size
        as OpenCL may overflow the ArrayBuffer.
        Adding similar sanity check for createBuffer() API.
        [https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9814]

        Adapting to CC types for all the param for the createImage() & createBuffer() APIs.

        conformance/buffimgs/cl_context_createBuffer.html
        conformance/buffimgs/cl_context_createImage.html
        @[https://github.com/SRA-SiliconValley/webkit-webcl-conformance]

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createBuffer):
        (WebCore::WebCLContext::createImage2DBase):
        (WebCore::WebCLContext::createImage):
        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLImage.cpp:
        (WebCore::WebCLImage::create):
        (WebCore::WebCLImage::WebCLImage):
        * Modules/webcl/WebCLImage.h:
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::createImage2D):