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

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

        Reviewed by NOBODY (OOPS!).

        Fix issues with getInfo() API. Mainly fixes to pass a PassRefPtr
        to WebCLGetInfo class constructor.

        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 NOBODY (OOPS!).

        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):