2013-01-02  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLKernel interface cleanup.

        Issue #47

        Reviewed by Antonio.

        Cleanup for interface WebCLKernel changing file to be in par with webkit
        standards and webcl specification.

        No new tests.

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::~WebCLKernel):
        (WebCore::WebCLKernel::WebCLKernel):
        (WebCore::WebCLKernel::getInfo):
        (WebCore::WebCLKernel::getWorkGroupInfo):
        (WebCore::WebCLKernel::setArg):
        (WebCore::WebCLKernel::clSetKernelArgPrimitiveType): Change from RefPtr to PassRefPtr needs changes to other class. Will be done with a seperate commit.
        (WebCore::WebCLKernel::clSetKernelArgVectorType): Change from RefPtr to PassRefPtr needs changes to other class. Will be done with a seperate commit.
        (WebCore::WebCLKernel::setDevice):
        (WebCore::WebCLKernel::getCLKernel):
        * Modules/webcl/WebCLKernel.h:
        (WebCore):
        (WebCLKernel):
        * Modules/webcl/WebCLKernel.idl:
        * bindings/js/JSWebCLKernelCustom.cpp:
        (WebCore::JSWebCLKernel::getInfo):
        (WebCore::JSWebCLKernel::getWorkGroupInfo):
        (WebCore::JSWebCLKernel::setArg):
WebCL object lifetime and access.
Examples:

2013-01-09  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCL object lifetime and access.
        Issue #59

        Reviewed by NOBODY .

        Change webcl object creation from new WebCL() to window.webcl or self.webcl.

        * WebCL/Deform/SimCL.js:
        (InitCL):
        * WebCL/Hello/index.html:
        * WebCL/Nbody/SimCL.js:
        (GetWorkGroupSize):

Source/WebCore:

2013-01-09  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCL object lifetime and access.
        Issue #59

        Reviewed by NOBODY.

        Impliment the webcl implimentation so that the user can access the webcl instanse as window.webcl or self.webcl.
        Remove the constructor for WebCL interface.

        No new tests.

        * DerivedSources.make:
        * Modules/webcl/DOMWindowWebCLEnvironment.cpp: Added.
        (WebCore):
        (WebCore::DOMWindowWebCLEnvironment::~DOMWindowWebCLEnvironment):
        (WebCore::DOMWindowWebCLEnvironment::DOMWindowWebCLEnvironment):
        (WebCore::DOMWindowWebCLEnvironment::from):
        (WebCore::DOMWindowWebCLEnvironment::webcl): property to give a reference for webcl singleton class.
        * Modules/webcl/DOMWindowWebCLEnvironment.h: Added.
        (WebCore):
        * Modules/webcl/DOMWindowWebCLEnvironment.idl: Added.
        * Modules/webcl/WebCL.idl:
        * Modules/webcl/WorkerContextWebCLEnvironment.cpp: Added.
        (WebCore):
        (WebCore::WorkerContextWebCLEnvironment::~WorkerContextWebCLEnvironment):
        (WebCore::WorkerContextWebCLEnvironment::WorkerContextWebCLEnvironment):
        (WebCore::WorkerContextWebCLEnvironment::from):
        (WebCore::WorkerContextWebCLEnvironment::webcl):
        * Modules/webcl/WorkerContextWebCLEnvironment.h: Added.
        (WebCore):
        * Modules/webcl/WorkerContextWebCLEnvironment.idl: Added.
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore):
        * bindings/js/JSWebCLCustom.cpp:
        * page/DOMWindow.idl: