2014-03-03  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Break the WebCLPlatform and WebCLDevice inheritance from WebCLObject.
        Issue #463

        Reviewed by TrustMe.

        WebCLObject offers facilities for two jobs mainly:
        (1) make derived objects trackable, so "releaseAll" can
        be easily implemented;
        (2) implement "release" method.

        WebCLPlatform and WebCLDevice objects are not a release-able,
        so they do not benefit from (1) or (2).

        Lets break this dependency apart, and move on.

        * Modules/webcl/WebCLPlatform.cpp:
        (WebCore::WebCLPlatform::WebCLPlatform):
        (WebCore::WebCLPlatform::getInfo):
        (WebCore::WebCLPlatform::getDevices):
        * Modules/webcl/WebCLPlatform.h:
        (WebCore::WebCLPlatform::platformObject):
2014-03-03  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Get rid of releasePlatformObjectImpl overrides where possible
        Issue #445

        Reviewed by TrustMe.

        Now that WebCLDevice and WebCLPlatform are
        not WebCLObject-derived objects anymore,
        there is not need to specialize this method
        and release means deletion of the associated
        platformObject for all classes.

        This makes Igor's dream true :)

        * Modules/webcl/WebCLCommandQueue.cpp:
        * Modules/webcl/WebCLCommandQueue.h:
        * Modules/webcl/WebCLContext.cpp:
        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLEvent.cpp:
        * Modules/webcl/WebCLEvent.h:
        * Modules/webcl/WebCLKernel.cpp:
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLMemoryObject.cpp:
        * Modules/webcl/WebCLMemoryObject.h:
        * Modules/webcl/WebCLObject.h:
        (WebCore::WebCLObjectImpl::releasePlatformObject):
        * Modules/webcl/WebCLProgram.cpp:
        * Modules/webcl/WebCLProgram.h:
        * Modules/webcl/WebCLSampler.cpp:
        * Modules/webcl/WebCLSampler.h:
        * Modules/webcl/WebCLUserEvent.cpp:
        * Modules/webcl/WebCLUserEvent.h:
2014-03-03  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLPlatform::getDevices - Omitting the device type is equivalent to specifying DEVICE_TYPE_ALL
        Issue #464

        Reviewed by TrustMe.

        * Modules/webcl/WebCLPlatform.cpp:
        (WebCore::WebCLPlatform::getDevices):
        * Modules/webcl/WebCLPlatform.h: