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

        Route WebCLProgram::build via ComputeContext.
        Issue #152

        Reviewed by Antonio.

        Route call to clBuildProgram opencl API via ComputeContext interface.

        No new tests.

        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::build):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::buildProgram):
        (WebCore):
2013-03-04  Sharath Kamath  <kamath.sharath@gmail.com>

        Route WebCLContext::createUserEvent via ComputeContext.
        Issue #155

        Reviewed by Antonio.

        Route call to OpenCL clCreateUserEvent via CreateContext interface.

        No new tests.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createUserEvent):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::createUserEvent):
        (WebCore):
2013-03-04  Sharath Kamath  <kamath.sharath@gmail.com>

        Route WebCLContext ::getContextInfo via ComputeContext.
        Issue #157

        Reviewed by NOBODY (OOPS!).

        Route call to clGetContextInfo via ComputeContext interface.

        No new tests.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::ensureCachedContextProperties):
        (WebCore::WebCLContext::getInfo):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::getContextInfo):
        (WebCore):
2013-03-04  Sharath Kamath  <kamath.sharath@gmail.com>

        Code cleanup for WebCLKernelArgumentTypes interface.
        Issue #158

        Reviewed by NOBODY (OOPS!).

        Code cleanup for files WebCLKernelArgumentTypes.idl/.cpp/.h.
        Removing commented code and make it WebKit compliant.

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernelArgumentTypes.cpp:
        (WebCore):
        (WebCore::WebCLKernelArgumentTypes::create):
        (WebCore::WebCLKernelArgumentTypes::WebCLKernelArgumentTypes):
        (WebCore::WebCLKernelArgumentTypes::~WebCLKernelArgumentTypes):
        * Modules/webcl/WebCLKernelArgumentTypes.h:
        (WebCLKernelArgumentTypes):
        * Modules/webcl/WebCLKernelArgumentTypes.idl:
2013-02-27  Sharath Kamath  <kamath.sharath@gmail.com>

        createSubBuffer() API crashes the safari browser.
        Issue #105

        Reviewed by NOBODY (OOPS!).

        On running the conformance test case to getInfo on MEM_ASSOCIATED_MEMOBJECT flag , the browser crashes.
        The stack reports crash in ~WebCLMemoryObject.
        Need to investigate the way the desctructor is called for a sub buffer as a subbuffer
        is also WebCLMemoryObject. And it depends on the cl_mem of the WebCLMemoryObject on using which it was created.

        The subbuffer will have a reference count heigher than 1. Thus can check it before calling clRelease.

        No new tests.

        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::~WebCLMemoryObject):