2014-06-25  Sharath Kamath  <s.kamath@samsung.com>

        Refresh the KHR_gl_sharing implementation.

        Fixed #533

        Reviewed by Antonio.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext):
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createFromGLBuffer): Adding exception checks.
        (WebCore::WebCLContext::createFromGLRenderbuffer): Adding exception checks.
        (WebCore::WebCLContext::createFromGLTexture): Adding exception checks.
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidGLTextureTarget): To verify the TextureTarget.
        * Modules/webcl/WebCLInputChecker.h: