2013-10-11  Sharath Kamath  <s.kamath@samsung.com>

        Support createBuffer with HTMLImageElement.

        Issue #153

        Restructure the createBuffer and createImage API
        adding a generic createBufferBase() API.

        Move generic code in createImage() to createImage2DBase().

        Reviewed by NOBODY (OOPS!).

        No new tests (OOPS!).

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createBufferBase):
        (WebCore::WebCLContext::createBuffer):
        (WebCore::WebCLContext::createImage2DBase):
        (WebCore::WebCLContext::createImage):
        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLContext.idl: