2013-12-05  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        validate host row/slice pitch
        Issue #363

        Reviewed by Igor.

        Conformance tests (GPU):
        cl_commandQueue_enqueueWriteBufferRect.html
        cl_commandQueue_enqueueReadBufferRect.html

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidPitchForArrayBufferView):
        * Modules/webcl/WebCLInputChecker.h:
2013-12-05  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Replace isReleased by holdsValidPlatformObject
        Issue #364

        Reviewed by Igor.

        It is more logical, because Events start with platform_object
        as null, but is not "released" yet.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferBase):
        (WebCore::WebCLCommandQueue::ccEventFromWebCLEvent):
        (WebCore::WebCLCommandQueue::enqueueMarker):
        * Modules/webcl/WebCLObject.h:
        (WebCore::WebCLObject::WebCLObject):
        (WebCore::WebCLObjectImpl::releasePlatformObject):