2013-01-18  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLProgram::finishCallback conformance test crashes.
        Issue #77

        Reviewed by NOBODY (OOPS!).

        When WebCLProgram::build() api is called with a callback event.
        The call back is not registered and thus the static cast fails.
        Adding null check on the pointer to avoid crash if static fails due to other issues.

        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::finishCallback): Add null check.
        (WebCore::WebCLProgram::build): Register the object into file level static for use in finishCallback.
2013-01-24  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLDevice interface cleanup.
        Issue #91

        Reviewed by Antonio.

        Webkit style issues and cleanup of WebCLDevice interface.

        No new tests.

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::create):
        (WebCore::WebCLDevice::WebCLDevice):
        (WebCore::WebCLDevice::getInfo):
        (WebCore::WebCLDevice::getCLDevice):
        * Modules/webcl/WebCLDevice.h:
        (WebCLDevice):
        * Modules/webcl/WebCLDevice.idl:
        * platform/ComputeTypes.h:
2013-01-24  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLSampler interface cleanup.
        Issue #92

        Reviewed by Antonio.

        Webkit style issues and cleanup of WebCLSampler interface.

        No new tests.

        * Modules/webcl/WebCLSampler.cpp:
        (WebCore::WebCLSampler::~WebCLSampler):
        (WebCore::WebCLSampler::create):
        (WebCore::WebCLSampler::WebCLSampler):
        (WebCore::WebCLSampler::getInfo):
        (WebCore::WebCLSampler::getCLSampler):
        * Modules/webcl/WebCLSampler.h:
        (WebCLSampler):
        * Modules/webcl/WebCLSampler.idl: