2014-01-22  Sharath Kamath  <s.kamath@samsung.com>

        Move ImageData functions to WebCLHTMLInterop interface.

        Issue #428

        Reviewed by Antonio.

        Adding a new API WebCLHTMLInterop::extractDataFromImageData() to
        extract data from a ImageData.
        Also adding better exception handling to WebCLHTMLInterop interface.

        Some minor changes in WebCLCommandQueue enuqeue* API.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferBase):
        (WebCore::WebCLCommandQueue::enqueueWriteBuffer):
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadBufferBase):
        (WebCore::WebCLCommandQueue::enqueueReadBuffer):
        (WebCore::WebCLCommandQueue::enqueueReadImageBase):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRectBase):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createBuffer):
        (WebCore::WebCLContext::createImage):
        * Modules/webcl/WebCLHTMLInterop.cpp:
        (WebCore::WebCLHTMLInterop::extractDataFromCanvas):
        (WebCore::WebCLHTMLInterop::extractDataFromImage):
        (WebCore::WebCLHTMLInterop::extractDataFromImageData):
        * Modules/webcl/WebCLHTMLInterop.h: