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.