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

        Build fixes for XCode 4.6.x
        Issue #116

        Reviewed by Igor.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext):
        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        * Modules/webcl/WebCLSampler.cpp:
        (WebCore::WebCLSampler::WebCLSampler):
        (WebCore::WebCLSampler::getInfo):
        * Modules/webcl/WorkerContextWebCLEnvironment.cpp:
        (WebCore::WorkerContextWebCLEnvironment::WorkerContextWebCLEnvironment):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::ComputeContext):
        (WebCore::computeAddressingModeToCL):
        (WebCore::ComputeContext::createSampler):

Conflicts:
	Source/WebCore/Modules/webcl/WebCLCommandQueue.cpp
2013-02-08  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Refactor WebCL::createContext
        Issue #115

        Reviewed by Igor.

        1) Eliminated raw 'new' allocation calls;
        2) Removed usage of CL_XXX enum items (CL_DEVICE_TYPE_DEFAULT)
           in favor of the ComputeContext counterpart.
        3) Added a better error handling
        4) Adopted a early-return based coding style.
        5) Changed where variables were being declared.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext):
2013-02-08  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Get rid of one of the overloaded createImageWithDescriptor declarations in WebCLContext.h
        Issue #113

        Reviewed by Igor.

        This method implemented in a custom binding, so it default parameter
        values can handled there.

        This is a step forward to Issue #35 (WebCLContext class createImageWithDescriptor
        needs to be renamed to overloaded api createImage).

        * Modules/webcl/WebCLContext.h:
        (WebCLContext):
        * bindings/js/JSWebCLContextCustom.cpp:
        (WebCore::JSWebCLContext::createImageWithDescriptor):
2013-02-08  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Buildfix for OpenCL 1.1

        Reviewed by Igor.

        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::computeMemoryObjectTypeToCL):