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

        Remove unneeded WebCLImage ctor.
        Issue #217

        Reviewed by Igor.

        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 Igor.

        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):
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        update opencl includes
        Issue #175

        Reviewed by Igor.

        All direct OpenCL includes should be
        removed from Modules/webcl/*

        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLGLObjectInfo.h:
        * Modules/webcl/WebCLImage.h:
        * Modules/webcl/WebCLImageDescriptor.h:
        (WebCLImageDescriptor):
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLPlatform.h: