2012-12-19  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCL:: createContext not taking properties passed.
        Issue #22

        Reviewed by Antonio.

        createContext() API must take WebCLProperties and use it when creating
        context. Fixed to take platforms and device type from property.

        No new tests.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext): Fix to take properties.
2012-12-26  Sharath Kamath  <kamath.sharath@gmail.com>

        Clean up WebCLProgram interface.
        Issue #33

        Reviewed by Antonio.

        Cleaning class WebCLProgram as per WebKit guidelines.

        No new tests.

        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::~WebCLProgram): Need to check the code as its crashing in certain apps.
        (WebCore::WebCLProgram::create): Style changes.
        (WebCore::WebCLProgram::WebCLProgram): Style changes.
        (WebCore::WebCLProgram::getInfo): Style changes.
        (WebCore):
        (WebCore::WebCLProgram::getBuildInfo): Style changes.
        (WebCore::WebCLProgram::createKernel): Style changes.
        (WebCore::WebCLProgram::createKernelsInProgram): Style changes.
        (WebCore::WebCLProgram::buildProgram): Style changes.
        (WebCore::WebCLProgram::finishCallBack): Style changes.
        (WebCore::WebCLProgram::build): Style changes.
        * Modules/webcl/WebCLProgram.h:
        (WebCore):
        (WebCLProgram):
        (WebCore::WebCLProgram::build): Style changes.
        * Modules/webcl/WebCLProgram.idl:
        * bindings/js/JSWebCLProgramCustom.cpp:
        (WebCore::JSWebCLProgram::getInfo): Style changes.
        (WebCore):
        (WebCore::JSWebCLProgram::getBuildInfo): Style changes.
        (WebCore::createFinishCallback):
        (WebCore::JSWebCLProgram::build): Style changes.
WebCLProgram:: buildProgram API is discarded in WebCL spec.
Examples:

2012-12-27  Sharath Kamath  <kamath.sharath@gmail.com>

        Issue #36

        Reviewed by Antonio.

        Replace buildProgram API with build in WebCL examples.

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

Source/WebCore:

2012-12-27  Sharath Kamath  <kamath.sharath@gmail.com>

        Issue #36

        Reviewed by Antonio.

        Delete buildProgram(...) API from WebCLProgram interface.
        Also change build() API to take 2nd argument options as optional as per WebCL spec.

        No new tests.

        * Modules/webcl/WebCLProgram.cpp: Delete buildProgram.
        * Modules/webcl/WebCLProgram.h: Delete buildProgram.
        (WebCLProgram):
        * Modules/webcl/WebCLProgram.idl: Delete buildProgram.
        * bindings/js/JSWebCLProgramCustom.cpp:
        (WebCore::JSWebCLProgram::build): make options as optional arg.
SetKernelArg deprecated from WebCL specification.

Examples:
2012-12-27  Sharath Kamath  <kamath.sharath@gmail.com>

        Replace SetKernelArg and related API with setArg.
        Issue #40

        Reviewed by NOBODY (OOPS!).

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

Source/WebCore:

2012-12-27  Sharath Kamath  <kamath.sharath@gmail.com>

        SetKernelArg is deleted and functionality merged into setArg.
        Issue #40

        Reviewed by NOBODY (OOPS!).

        As SetKernelArg deprecated from WebCL specification the API is deleted from
        WebCLKernel interface. Functionnality merged into setArg API.

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::setArg):
        (WebCore):
        * Modules/webcl/WebCLKernel.h:
        (WebCLKernel):
        * Modules/webcl/WebCLKernel.idl:
        * bindings/js/JSWebCLKernelCustom.cpp:
2013-01-02  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLKernel interface cleanup.

        Issue #47

        Reviewed by NOBODY (OOPS!).

        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):