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

        Part 1- WebCL*::getInfo() API fixes.
        Issue #232

        Reviewed by Antonio/Igor.

        Fix issues with getInfo() API.

        WebCLGetInfo is returned to JS and then destructed once user closes the tab.
        If we use PassRefPtr and pass ownership to WebCLGetInfo the associated opencl object
        will be destroyed when WebCLGetInfo is destroyed.
        So we use simple pointer to pass the Object to WebCLGetInfo and then store it
        in RefPtr internally.

        No new tests (OOPS!).

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::getInfo):
        (WebCore::WebCLContext::createProgram):
        (WebCore::WebCLContext::createImage):
        * Modules/webcl/WebCLEvent.cpp:
        (WebCore::WebCLEvent::getInfo):
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::getInfo):
        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::getInfo):
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::getInfo):
        * Modules/webcl/WebCLSampler.cpp:
        (WebCore::WebCLSampler::getInfo):
2013-05-23  Sharath Kamath  <s.kamath@samsung.com>

        WebCLDevice::GetInfo does not return WebCLPlatform on DEVICE_PLATFORM param type.
        Issue #236

        Reviewed by Antonio/Igor.

        No new tests (OOPS!).

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::create):
        (WebCore::WebCLDevice::WebCLDevice):
        (WebCore::WebCLDevice::getInfo):
        (WebCore::toWebCLDeviceArray):
        * Modules/webcl/WebCLDevice.h:
        (WebCore):
        (WebCLDevice):
        (WebCore):
        * Modules/webcl/WebCLPlatform.cpp:
        (WebCore::WebCLPlatform::getDevices):