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

        Clean up WebCLProgram interface.
        Issue #33

        Reviewed by NOBODY (OOPS!).

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

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

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

        No new tests (OOPS!).

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