2013-11-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Added some more WEBGL build guards.

        Unreviewed.

        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::WebCLContextProperties):
        (WebCore::WebCLContextProperties::isGLCapable):
        * Modules/webcl/WebCLContextProperties.h:
2013-11-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Non-CLGL Examples fails with current master.
        #350
        createContext return WEBCL_IMPLEMENTATION_FAILURE
        #351

        Reviewed by Igor.

        We do not support "use the global GL context"
        as we used to. Lets remove this altogether and
        fix our non-gl demos.

        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::computeContextProperties):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::populatePropertiesForInteroperabilityWithGL):
2013-11-30  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Use the crash-free code for events in WebCLCommandQueue's GL methods.

        Suggested by Igor.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueAcquireGLObjects):
        (WebCore::WebCLCommandQueue::enqueueReleaseGLObjects):
        * Modules/webcl/WebCLExtensionsAccessor.cpp:
        (WebCore::::enableExtension):