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

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

        Reviewed by NOBODY (OOPS!).

        Underlying /platform support for "compute extensions".

        Patch follows the logic that Extensions3D has to support
        WebGL/OpenGL{ES} extensions. This is the first out of 3 patches.

        In this first patch, we add support for querying about
        WebCL global extensions. So two methods:

        - WebCL::getExtension
        - WebCL::getSupportedExtension

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::getSupportedExtensions):
        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::getSupportedExtensions):
        * platform/opencl/ExtensionsCL.cpp: Added.
        (WebCore):
        (WebCore::ExtensionsCL::get):
        (WebCore::ExtensionsCL::ExtensionsCL):
        (WebCore::ExtensionsCL::~ExtensionsCL):
        (WebCore::ExtensionsCL::supports):
        (WebCore::ExtensionsCL::initializeGlobalExtensions):
        (WebCore::ExtensionsCL::supportsExtension):
        (WebCore::ExtensionsCL::getGlobalExtensions):
        * platform/opencl/ExtensionsCL.h: Added.
        (WebCore):
        (ExtensionsCL):