2013-08-09  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        conformance/buffimgs/cl_buffer_createSubBuffer.html crashes Safari
        Issue #262

        Reviewed by Igor.

        Patch works around a bug in Apple's OpenCL drivers
        (tested on both Mac OSX 10.8.4/10.7.5, and GeForce 650 and
        AMD GPUs respectively), where creating a subbuffer from another
        subbuffer hangs the GPU. Instead, OpenCL should basically report back an
        error, which would be converted to a WebCL exception.
        I will report this OpenCL issue back to Apple directly.

        Keep track if the WebCLBuffer is either a "Buffer" or
        "SubBuffer" object at its creation. That allows us to throw
        an exception is a subbuffer is created from another subbuffer
        without relying on OpenCL doing this.

        It fixes buffimgs/cl_buffer_createSubBuffer.html

        * Modules/webcl/WebCLBuffer.cpp:
        (WebCore::WebCLBuffer::create):
        (WebCore::WebCLBuffer::WebCLBuffer):
        (WebCore::WebCLBuffer::createSubBuffer):
        * Modules/webcl/WebCLBuffer.h:
        * Modules/webcl/WebCLBuffer.idl:
        * Modules/webcl/WebCLMemoryObject.h:
2013-04-16  Sharath Kamath  <s.kamath@samsung.com>

        getBuildLogInfo fails if log is too long
        Issue #188

        Reviewed by Igor.

        When build log is more than 1024 characters (this can happen if a
        typo is made at the beginning of a large program, getting build log
        fails with a INVALID_VALUE error.

        Also add a additional param to ComputeContext::getXXXInfo() API.
        Mapping it with OpenCL clGetXXXInfo() API.

        No new tests (OOPS!).

        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::getWorkGroupInfo):
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::getBuildInfo):
        * platform/ComputeContext.h:
        (ComputeContext):
        (WebCore::ComputeContext::getWorkGroupInfo):
        (WebCore::ComputeContext::getBuildInfo):
        * platform/ComputeTypesTraits.h:
        (WebCore):
        (BuildInfoFunctor):
        (WebCore::BuildInfoFunctor::operator()):
        (WebCore::ComputeBuildInfo::get):
        (WebCore::getInfoHelper):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::getBuildInfoBase):
        (WebCore::ComputeContext::getWorkGroupInfoBase):
2013-08-12  Sharath Kamath  <s.kamath@samsung.com>

        Device Info:getInfo() Update as per WD update.
        Issue #276

        Reviewed by Antonio.

        As per bug [https://www.khronos.org/bugzilla/show_bug.cgi?id=826]
        we need to add support to the the following params.
        DEVICE_MAX_COMPUTE_UNITS
        DEVICE_GLOBAL_MEM_SIZE
        DEVICE_MEM_BASE_ADDR_ALIGN
        DEVICE_SINGLE_FP_CONFIG
        DEVICE_COMPILER_AVAILABLE

        [TEST] conformance/computeinfo/cl_device_getinfo.html
        in https://github.com/SRA-SiliconValley/webkit-webcl-conformance

        * Modules/webcl/WebCL.idl:
        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::isValidDeviceInfoType):
2013-08-12  Sharath Kamath  <s.kamath@samsung.com>

        WebCLType::create should not return CCerror
        Issue #151

        if WebCLContext::create and WebCLGLContext::create fails, it returns should return a
        ExceptionCode instead of a CCerror.

        Reviewed by NOBODY (OOPS!).

        No new tests (OOPS!).

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::create):
        * Modules/webcl/WebCLContext.h:
        (WebCore::WebCLContext::createBase):
        * Modules/webcl/WebCLGLContext.cpp:
        (WebCore::WebCLGLContext::create):
        * Modules/webcl/WebCLGLContext.h:
Week 32

Demos:
  * Fix frame interval in Ising Model
  * Fix localWorkSize in Path Integrals
  * Moving localWorkSize initialisation
  * Removing shareGroup
  * N-body: fix bug in CL simulation
  * Removing libs directory

Layout Tests:
  * Update the Layout Test which tests all devices using a single context
  * WCLCommandQueue::enqueueAcquireGLObjects and enqueueReleaseGLObjects
    update in webcl-proxy
  * Remove hint from WebCLContextProperties in all Layout Tests
  * Fixed WebCL WebCLKernelArgumentTypes constants test
  * Fix Layout Test for supported extensions
  * Fixed WebCL constants test
  * Fix Layout Test webcl-test-instanceof.html
  * Mark some Layout Tests as expected-to-fail
: Update Config files to build on efl Linux port.

2013-03-25  Siba Samal  <sibasamal@gmail.com>

        Update Config files to build on efl Linux port.
        Issue #196

        Reviewed by NOBODY (OOPS!).

        * Source/cmake/FindOpenCL.cmake: Added.
        * Source/cmake/OptionsEfl.cmake:
        * Source/cmake/WebKitFeatures.cmake:
        * Source/cmakeconfig.h.cmake:

Source/WebCore:

2013-03-25  Siba Samal  <sibasamal@gmail.com>

        Update Config files to build on efl Linux port.
        Issue #196

        Reviewed by NOBODY (OOPS!).

        No new tests (OOPS!).

        * CMakeLists.txt:
        * PlatformEfl.cmake:
        * UseJSC.cmake:
2013-07-19  Marcelo Morais  <m.morais@samsung.com>

        Update config files to build WebKit on efl linux port.
        Issue #196

        Reviewed by NOBODY (OOPS!).

        * Source/cmake/FindGLX.cmake: Added.
        * CMakeLists.txt:
        * PlatformEfl.cmake:
        * UseJSC.cmake:
2013-08-02  Marcelo Morais  <m.morais@samsung.com>

        Declaring GLint type on GraphicsContext3D.
        Issue #196

        Reviewed by Antonio Gomes.

        This type wasn't declared for EFL platform and it is needed by
        the fix of Issue #241. Without this, the EFL build won't work.

        * platform/graphics/GraphicsContext3D.h:
2013-08-12  Marcelo Morais  <m.morais@samsung.com>

        Updated config file to build webkit EFL port on linux.
        Issue #196

        Reviewed by NOBODY (OOPS!).

        JSWebCLGLObjectInfoCustom was added on UseJSC.cmake

        * UseJSC.cmake: