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

        ComputeContext ctor simplification.
        Need the bug URL (OOPS!).

        Reviewed by NOBODY (OOPS!).

        Given that isValidDeviceType is called prior
        to constructing ComputeContext instances, we can
        safely simplify it.

        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::ComputeContext):
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Remove unneeded WebCLImage ctor.
        Need the bug URL (OOPS!).

        Reviewed by NOBODY (OOPS!).

        It was needed before CL-GL interop was an
        WebCL extension.

        * Modules/webcl/WebCLImage.h:
        (WebCLImage):
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Implement CL-GL as an extension (part 5)
        Issue #210

        Reviewed by NOBODY (OOPS!).

        Patch adds support to the new WebCLGLContextProperties interface;
        more specifically to the 'sharedContext' attribute.

        Basically, instead of creating a new class (named WebCLGLContextProperties)
        that would inherit from WebCLContextProperties, the 'sharedContext'
        attribute was added to the existing WebCLContextProperties class.
        WebCLContextProperties' 'shareGroup' attribute was removed.

        Off of WebCLContextProperties, both JSWebCLContextProperties and
        JSWebCLGLContextProperties can be wrapped (in a follow up patch).

        The 'parsePropertiesAndCreateContext' template was taught to ignore
        parsing this property if a WebCLContext is being created.
        In case of a WebCLGLContext creation, it gets parsed.

        A static method was also added to ComputeContext, to host platform
        specific code to handle CL-GL interop set up.

        Also, in order to generate a WebGLRenderingContext from a JSValue,
        we also extended WebGLRenderingContext.idl with 'JSGenerateToNativeObject'.

        Examples:
        * WebCL/Nbody/SimCL.js:
        (InitCL):

        Source/WebCore:
        * DerivedSources.make:
        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::defaultProperties):
        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::create):
        (WebCore::WebCLContextProperties::WebCLContextProperties):
        (WebCore::WebCLContextProperties::setWebGLRenderingContext):
        (WebCore::WebCLContextProperties::computeContextProperties):
        * Modules/webcl/WebCLContextProperties.h:
        (WebCore):
        (WebCLContextProperties):
        * Modules/webcl/WebCLContextProperties.idl:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::createContext):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::parsePropertiesAndCreateContext):
        * html/canvas/WebGLRenderingContext.idl:
        * platform/ComputeContext.h:
        (ComputeContext):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::populatePropertiesForInteroperabilityWithGL):
        (WebCore):