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

        WebCLDevice interface cleanup.
        Issue #91

        Reviewed by Antonio.

        Webkit style issues and cleanup of WebCLDevice interface.

        No new tests.

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::create):
        (WebCore::WebCLDevice::WebCLDevice):
        (WebCore::WebCLDevice::getInfo):
        (WebCore::WebCLDevice::getCLDevice):
        * Modules/webcl/WebCLDevice.h:
        (WebCLDevice):
        * Modules/webcl/WebCLDevice.idl:
        * platform/ComputeTypes.h:
2013-01-24  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLSampler interface cleanup.
        Issue #92

        Reviewed by Antonio.

        Webkit style issues and cleanup of WebCLSampler interface.

        No new tests.

        * Modules/webcl/WebCLSampler.cpp:
        (WebCore::WebCLSampler::~WebCLSampler):
        (WebCore::WebCLSampler::create):
        (WebCore::WebCLSampler::WebCLSampler):
        (WebCore::WebCLSampler::getInfo):
        (WebCore::WebCLSampler::getCLSampler):
        * Modules/webcl/WebCLSampler.h:
        (WebCLSampler):
        * Modules/webcl/WebCLSampler.idl:
        * platform/ComputeTypes.h:
2013-01-24  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLCommandQueue check pointers to avoid bad memory access.
        Issue #93

        Reviewed by NOBODY (OOPS!).

        Error can be thrown by WebCL or a null passed to OpenCL.
        If OpenCL needs a non-null value it will throw a exception which will
        be handled by WebCL.

        No new tests (OOPS!).

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBuffer):
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBuffer):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):