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

        WebCLMemoryObject , WebCLImage and WebCLBuffer interface cleanup and style issues.
        Issue #80

        Reviewed by NOBODY (OOPS!).

        Cleanup for WebCLMemoryObject , WebCLImage and WebCLBuffer interface.
        Adding inheritance between WebCLMemoryObject(base class) and WebCLImage & WebCLBuffer
        (derieved class).

        * Modules/webcl/WebCLBuffer.cpp:
        (WebCore::WebCLBuffer::create):
        (WebCore::WebCLBuffer::WebCLBuffer):
        (WebCore::WebCLBuffer::getCLBuffer):
        (WebCore::WebCLBuffer::createSubBuffer):
        * Modules/webcl/WebCLBuffer.h:
        (WebCore):
        (WebCLBuffer):
        * Modules/webcl/WebCLBuffer.idl:
        * Modules/webcl/WebCLContext.cpp: Passing this object in place of WebCL* in createBuffer and createImage.
        (WebCore::WebCLContext::createBuffer):
        (WebCore::WebCLContext::createImage2DBaseMemory):
        (WebCore::WebCLContext::createImage2DBaseImage):
        (WebCore::WebCLContext::createFromGLBuffer):
        (WebCore::WebCLContext::createFromGLRenderBuffer):
        (WebCore::WebCLContext::createFromGLTexture2D):
        * Modules/webcl/WebCLGetInfo.cpp: Adding new API to take WebCLMemoryObject as i/p.
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore):
        (WebCore::WebCLGetInfo::getWebCLMemoryObject):
        * Modules/webcl/WebCLGetInfo.h:
        * Modules/webcl/WebCLImage.cpp:
        (WebCore::WebCLImage::create):
        (WebCore::WebCLImage::WebCLImage):
        (WebCore::WebCLImage::getCLImage):
        (WebCore::WebCLImage::getGLtextureInfo):
        (WebCore::WebCLImage::getInfo):
        * Modules/webcl/WebCLImage.h:
        (WebCore):
        (WebCLImage):
        * Modules/webcl/WebCLImage.idl:
        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::~WebCLMemoryObject):
        (WebCore::WebCLMemoryObject::create):
        (WebCore::WebCLMemoryObject::WebCLMemoryObject):
        (WebCore::WebCLMemoryObject::isShared):
        (WebCore):
        (WebCore::WebCLMemoryObject::getGLObjectInfo):
        (WebCore::WebCLMemoryObject::getInfo):
        (WebCore::WebCLMemoryObject::getCLMemoryObject):
        * Modules/webcl/WebCLMemoryObject.h:
        (WebCore):
        (WebCLMemoryObject):
        * Modules/webcl/WebCLMemoryObject.idl:
        * Modules/webcl/WebCLMemoryObjectList.cpp: Commenting code to make compatible.
        (WebCore:::m_context):