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

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

        Reviewed by Igor.

        computeFilterModeToCL and computeAddressingModeToCL can both just be removed,
        since the mapping between ComputeContext and CL types is 1:1 in such cases.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore):
        (WebCore::WebCLContext::createSampler):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidAddressingMode):
        (WebCLInputChecker):
        (WebCore::WebCLInputChecker::isValidFilterMode):
        * Modules/webcl/WebCLInputChecker.h:
        (WebCLInputChecker):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::getWorkGroupInfo):
        (WebCore):
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 Igor.

        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):
2013-02-28  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Get rid of unspec'ed WebCL::getImageInfo in .idl/.cpp
        Issue #147

        Reviewed by NOBODY (OOPS!).

        * Modules/webcl/WebCL.idl:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::createContext):
2013-02-28  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Fixes for various driven-by issues (see description below)
        Issue #149

        Reviewed by NOBODY (OOPS!).

        * Modules/webcl/WebCLContext.h:
        Include declarations fixes.

        (WebCore):
        * Modules/webcl/WebCLGetInfo.h:
        Include declarations fixes.

        (WebCore):
        * bindings/js/JSWebCLContextCustom.cpp:
        Include declarations fixes.

        * bindings/js/JSWebCLCustom.cpp:
        Various include fixes

        (WebCore::JSWebCL::createContext):
        Changed to an early-return style implementation.

        (WebCore::JSWebCL::getSupportedExtensions):
        Changed to an early-return style implementation.

        (WebCore::toJS):
        Moved the function body here/

        (WebCore):
        * bindings/js/JSWebCLCustom.h:
        Moved the toJS function body to the corresponding
        .cpp file, making it possible to remove lots of indirect
        includes.

        (WebCore):
        * platform/ComputeContext.h:
        Added a license header.

        * platform/ComputeTypes.h:
        Added a license header.
2013-02-26  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Miscellaneous build fixes for XCode 4.6.x

        Rubber stamped by Igor.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::WebCLContext):
        (WebCore):
        (WebCore::WebCLContext::createCommandQueue):
        * Modules/webcl/WebCLContext.h:
        (WebCLContext):
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::WebCLKernel):
        * Modules/webcl/WebCLKernel.h:
        (WebCLKernel):