2013-02-27  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Perform most of input validation on Modules/WebCL side (part IV)
        Issue #131

        Reviewed by NOBODY (OOPS!).

        computeImageFormatToCL be removed because patch gets rid of ComputeContext::ImageFormat
        struct in favor of directly using CCImageFormat.

        Patch also gets rid of TO_CL_BOOL macro.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createImage2DBase):
        (WebCore::WebCLContext::createImage):
        * Modules/webcl/WebCLContext.h:
        (WebCLContext):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidChannelOrder):
        (WebCLInputChecker):
        (WebCore::WebCLInputChecker::isValidChannelType):
        * Modules/webcl/WebCLInputChecker.h:
        (WebCLInputChecker):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::createImage2D):
        (WebCore::ComputeContext::createSampler):