2013-01-11 Antonio Gomes <a1.gomes@sisa.samsung.com>

        WebCLCommandQueue: Replace all explict references to "cl" by "cc"
        Issue #68

        Unreviewed.

        1st step to have no references to "cl" in Modules/webcl.
        We abstracted it out as "cc" (compute context).

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::~WebCLCommandQueue):
        (WebCore):
        (WebCore::WebCLCommandQueue::create):
        (WebCore::WebCLCommandQueue::WebCLCommandQueue):
        (WebCore::WebCLCommandQueue::getInfo):
        (WebCore::WebCLCommandQueue::enqueueWriteBuffer):
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadBuffer):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        (WebCore::WebCLCommandQueue::finish):
        (WebCore::WebCLCommandQueue::flush):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueAcquireGLObjects):
        (WebCore::WebCLCommandQueue::enqueueReleaseGLObjects):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        (WebCore::WebCLCommandQueue::enqueueCopyBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):
        (WebCore::WebCLCommandQueue::enqueueBarrier):
        (WebCore::WebCLCommandQueue::enqueueMarker):
        (WebCore::WebCLCommandQueue::enqueueTask):
        (WebCore::WebCLCommandQueue::getCLCommandQueue):
        * Modules/webcl/WebCLCommandQueue.h:
        (WebCLCommandQueue):
        * platform/ComputeTypes.h:
2013-01-11  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLCommandQueue: remove unused getCLCommandQueue method.
        Issue #69.`

        Unreviewed, nobody calls it.

        * Modules/webcl/WebCLCommandQueue.cpp:
        * Modules/webcl/WebCLCommandQueue.h:
2013-01-11  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLProgram: %s/CallBack/Callback/gc
        Issue #67

        Unreviewed naming change.

        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::finishCallback):
        (WebCore::WebCLProgram::build):
        * Modules/webcl/WebCLProgram.h:
        (WebCore::WebCLProgram::build):
        (WebCLProgram):
2013-01-14  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Typo in WebCLDeviceList does not allow valid items to be appended
        Issue #66

        Reviewed by Igor.

        Regression from Issue #63.

        * Modules/webcl/WebCLDeviceList.cpp:
        (WebCore::WebCLDeviceList::WebCLDeviceList):
2013-01-16 Igor Oliveira <igor.o@sisa.samsung.com>

        Part 1: Instead of an array getPlatforms, getDevices, getSupportedImageFormats and createKernelsInProgram should return a sequence.
        Issue #73

        Reviewed by Antonio Gomes.

        WebCLImageDescriptorList is not spec'ed and needs to be removed.
        Instead of WebCLImageDescriptorList we are using a sequence of WebCLImageDescriptor.

        * DerivedSources.make:
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::getSupportedImageFormats):
        * Modules/webcl/WebCLContext.h:
        (WebCore):
        (WebCLContext):
        * Modules/webcl/WebCLContext.idl:
        * Modules/webcl/WebCLGetInfo.cpp:
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore):
        (WebCore::WebCLGetInfo::getWebCLImageDescriptor):
        * Modules/webcl/WebCLGetInfo.h:
        * Modules/webcl/WebCLImageDescriptorList.cpp: Removed.
        * Modules/webcl/WebCLImageDescriptorList.h: Removed.
        * Modules/webcl/WebCLImageDescriptorList.idl: Removed.
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLContextCustom.cpp:
        (WebCore::JSWebCLContext::getSupportedImageFormats):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::toJS):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp: Fix horrible hack in the supportedImageFormats.
        The old implementation was wrong.
        (WebCore::ComputeContext::supportedImageFormats):
2013-01-17  Sharath Kamath  <kamath.sharath@gmail.com>

        enqueueNDRangeKernel failes in conformance test case.
        Issue #76

        Reviewed by NOBODY (OOPS!).

        Event passes to opencl API needs to be pointer of cl_event or CCEvent type.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBuffer):
        (WebCore):
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadBuffer):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
        (WebCore::WebCLCommandQueue::flush):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueAcquireGLObjects):
        (WebCore::WebCLCommandQueue::enqueueReleaseGLObjects):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        (WebCore::WebCLCommandQueue::enqueueCopyBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):
        (WebCore::WebCLCommandQueue::enqueueBarrier):
        (WebCore::WebCLCommandQueue::enqueueMarker):
        (WebCore::WebCLCommandQueue::enqueueTask):