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

        ComputeContext interface must use OpenCL types.
        Issue #304

        Reviewed by Antonio.

        As ComputeContext is a abstraction for underlying OpenCL, we must use OpenCL types
        rather than standard c types.

        OpenCL types are defined in Source/WebCore/platform/ComputeTypes.h.

        No new tests (OOPS!).

        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::getInfo):
        * platform/ComputeContext.h:
        (WebCore::ComputeContext::getDeviceInfo):
        (WebCore::ComputeContext::getPlatformInfo):
        (WebCore::ComputeContext::getProgramInfo):
        (WebCore::ComputeContext::getCommandQueueInfo):
        (WebCore::ComputeContext::getEventInfo):
        (WebCore::ComputeContext::getEventProfilingInfo):
        (WebCore::ComputeContext::getImageInfo):
        (WebCore::ComputeContext::getGLTextureInfo):
        (WebCore::ComputeContext::getKernelInfo):
        (WebCore::ComputeContext::getSamplerInfo):
        (WebCore::ComputeContext::getMemoryObjectInfo):
        (WebCore::ComputeContext::getWorkGroupInfo):
        (WebCore::ComputeContext::getBuildInfo):
        * platform/ComputeTypes.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::computeMemoryTypeToCL):
        (WebCore::ComputeContext::getPlatformIDs):
        (WebCore::ComputeContext::getDeviceIDs):
        (WebCore::ComputeContext::waitForEvents):
        (WebCore::ComputeContext::createCommandQueue):
        (WebCore::ComputeContext::createUserEvent):
        (WebCore::ComputeContext::createProgram):
        (WebCore::ComputeContext::buildProgram):
        (WebCore::ComputeContext::setKernelArg):
        (WebCore::ComputeContext::createBuffer):
        (WebCore::ComputeContext::createSubBuffer):
        (WebCore::ComputeContext::createImage2D):
        (WebCore::ComputeContext::createFromGLBuffer):
        (WebCore::ComputeContext::createFromGLRenderbuffer):
        (WebCore::ComputeContext::createSampler):
        (WebCore::ComputeContext::createFromGLTexture2D):
        (WebCore::ComputeContext::supportedImageFormats):
        (WebCore::ComputeContext::getDeviceInfoBase):
        (WebCore::ComputeContext::getPlatformInfoBase):
        (WebCore::ComputeContext::getProgramInfoBase):
        (WebCore::ComputeContext::getBuildInfoBase):
        (WebCore::ComputeContext::getCommandQueueInfoBase):
        (WebCore::ComputeContext::getEventInfoBase):
        (WebCore::ComputeContext::getEventProfilingInfoBase):
        (WebCore::ComputeContext::getImageInfoBase):
        (WebCore::ComputeContext::getGLTextureInfoBase):
        (WebCore::ComputeContext::getKernelInfoBase):
        (WebCore::ComputeContext::getWorkGroupInfoBase):
        (WebCore::ComputeContext::getSamplerInfoBase):
        (WebCore::ComputeContext::getMemoryObjectInfoBase):
        (WebCore::ComputeContext::releaseKernel):
        (WebCore::ComputeContext::releaseEvent):
        (WebCore::ComputeContext::releaseSampler):
        (WebCore::ComputeContext::releaseMemoryObject):
        (WebCore::ComputeContext::releaseProgram):
        (WebCore::ComputeContext::enqueueNDRangeKernel):
        (WebCore::ComputeContext::enqueueBarrier):
        (WebCore::ComputeContext::enqueueMarker):
        (WebCore::ComputeContext::enqueueTask):
        (WebCore::ComputeContext::enqueueWriteBuffer):
        (WebCore::ComputeContext::enqueueWriteBufferRect):
        (WebCore::ComputeContext::enqueueReadBuffer):
        (WebCore::ComputeContext::enqueueReadBufferRect):
        (WebCore::ComputeContext::enqueueReadImage):
        (WebCore::ComputeContext::enqueueWriteImage):
        (WebCore::ComputeContext::enqueueAcquireGLObjects):
        (WebCore::ComputeContext::enqueueReleaseGLObjects):
        (WebCore::ComputeContext::enqueueCopyImage):
        (WebCore::ComputeContext::enqueueCopyImageToBuffer):
        (WebCore::ComputeContext::enqueueCopyBufferToImage):
        (WebCore::ComputeContext::enqueueCopyBuffer):
        (WebCore::ComputeContext::enqueueCopyBufferRect):
        (WebCore::ComputeContext::releaseCommandQueue):
        (WebCore::ComputeContext::finishCommandQueue):
        (WebCore::ComputeContext::flushCommandQueue):
        (WebCore::ComputeContext::createKernel):
        (WebCore::ComputeContext::createKernelsInProgram):