2013-04-05  Igor Oliveira  <igor.o@sisa.samsung.com>

        Make ComputeContext::getInfo methods more c++'ish
        Issue #208

        Use C++ templates to make getInfo API nicer.

        Reviewed by Antonio Gomes.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::getInfo):
        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo):
        * Modules/webcl/WebCLEvent.cpp:
        (WebCore::WebCLEvent::getInfo):
        (WebCore::WebCLEvent::getProfilingInfo):
        * Modules/webcl/WebCLImage.cpp:
        (WebCore::WebCLImage::getGLtextureInfo):
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::createKernelsInProgram):
        (WebCore::WebCLKernel::getInfo):
        (WebCore::WebCLKernel::setArg):
        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::getInfo):
        * WebCore.xcodeproj/project.pbxproj:
        * platform/ComputeContext.h:
        (WebCore::ComputeContext::getDeviceInfo):
        (ComputeContext):
        (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):
        * platform/ComputeTypesTraits.h: Added.
        (WebCore):
        (Functor):
        (WebCore::Functor::operator()):
        (WebCore::ComputeInfo::get):
        (WebCore::getInfoHelper):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::getDeviceInfoBase):
        (WebCore::ComputeContext::getPlatformInfoBase):
        (WebCore::ComputeContext::getProgramInfoBase):
        (WebCore::ComputeContext::getCommandQueueInfoBase):
        (WebCore::ComputeContext::getEventInfoBase):
        (WebCore::ComputeContext::getEventProfilingInfoBase):
        (WebCore::ComputeContext::getImageInfoBase):
        (WebCore::ComputeContext::getGLTextureInfoBase):
        (WebCore::ComputeContext::getKernelInfoBase):
        (WebCore::ComputeContext::getWorkGroupInfo):
        (WebCore::ComputeContext::getSamplerInfoBase):
        (WebCore):
        (WebCore::ComputeContext::getMemoryObjectInfoBase):