2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Remove unneeded WebCLImage ctor.
        Issue #217

        Reviewed by Igor.

        It was needed before CL-GL interop was an
        WebCL extension.

        * Modules/webcl/WebCLImage.h:
        (WebCLImage):
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Implement CL-GL as an extension (part 5)
        Issue #210

        Reviewed by Igor.

        Patch adds support to the new WebCLGLContextProperties interface;
        more specifically to the 'sharedContext' attribute.

        Basically, instead of creating a new class (named WebCLGLContextProperties)
        that would inherit from WebCLContextProperties, the 'sharedContext'
        attribute was added to the existing WebCLContextProperties class.
        WebCLContextProperties' 'shareGroup' attribute was removed.

        Off of WebCLContextProperties, both JSWebCLContextProperties and
        JSWebCLGLContextProperties can be wrapped (in a follow up patch).

        The 'parsePropertiesAndCreateContext' template was taught to ignore
        parsing this property if a WebCLContext is being created.
        In case of a WebCLGLContext creation, it gets parsed.

        A static method was also added to ComputeContext, to host platform
        specific code to handle CL-GL interop set up.

        Also, in order to generate a WebGLRenderingContext from a JSValue,
        we also extended WebGLRenderingContext.idl with 'JSGenerateToNativeObject'.

        Examples:
        * WebCL/Nbody/SimCL.js:
        (InitCL):

        Source/WebCore:
        * DerivedSources.make:
        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::defaultProperties):
        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::create):
        (WebCore::WebCLContextProperties::WebCLContextProperties):
        (WebCore::WebCLContextProperties::setWebGLRenderingContext):
        (WebCore::WebCLContextProperties::computeContextProperties):
        * Modules/webcl/WebCLContextProperties.h:
        (WebCore):
        (WebCLContextProperties):
        * Modules/webcl/WebCLContextProperties.idl:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::createContext):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::parsePropertiesAndCreateContext):
        * html/canvas/WebGLRenderingContext.idl:
        * platform/ComputeContext.h:
        (ComputeContext):
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::populatePropertiesForInteroperabilityWithGL):
        (WebCore):
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        update opencl includes
        Issue #175

        Reviewed by Igor.

        All direct OpenCL includes should be
        removed from Modules/webcl/*

        * Modules/webcl/WebCLContext.h:
        * Modules/webcl/WebCLGLObjectInfo.h:
        * Modules/webcl/WebCLImage.h:
        * Modules/webcl/WebCLImageDescriptor.h:
        (WebCLImageDescriptor):
        * Modules/webcl/WebCLKernel.h:
        * Modules/webcl/WebCLPlatform.h:
2013-04-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Unreviewed build fix after 73cd4885

        * Modules/webcl/WebCLGLContextProperties.idl: Added.
 Week 14

 * Add Initial Structure for WebCL Tests
 * Test all OpenCL devices using a shared context
 * Create initial wrapper to WebCL tests
 * Initial test to WebCL wrapper
 * Using the commom resource files to WebCL tests
 * Add instanceof tests for WebCL objects
 * Created constants tests for WebCL.idl and WebCLKernelArgumentsType.idl
 * Added tests for WebCLEvent, WebCLSampler and WebCLImageDescriptor instances
 * Add a stress test for WebCLBuffer.
Week 15

 * Added functions to handle WebCLSampler and WebCLEvent
 * LayoutTest for WebCLEvent
 * Updated webcl-kernel-result layout test to fit the with webcl-test class
 * Add stress test for WebCLSampler.
 * Added stress test for create and release WebCLEvent instances
 * Add a stress test for WebCLCommandQueue.
 * Added stress test for WebCLImage object
 * Add stress test for WebCLProgram.
 * Port of Nokia Random Generator example to webkit
 * Add stress test for WebCLContext.
 * Stress test - 4 kernels in the same device
 * Create WebCL Layout test with several kernels
Added WebCLProxy stub class

Signed-off-by: Andre Luiz Viana Loureiro <andre.vl@samsung.com>
Implements WCLPlatform

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@gmail.com>
2013-04-17  Afonso R. Costa Jr.  <afonso.costa@samsung.com>

        Implement WCLDevice in WebCLProxy.

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
Implemented WCLContext class

Signed-off-by: Andre Luiz Viana Loureiro <andre.vl@samsung.com>
2013-04-18  Afonso R. Costa Jr.  <afonso.costa@samsung.com>

		Implement WCLProgram in WebCLProxy

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
2013-04-18  Alexandre Rocha  <a.rocha@samsung.com>
Implemented WCLKernel object

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
2013-04-18  Alexandre Rocha  <a.rocha@samsung.com>
Fixing WCLKernel.getWorkGroupInfo implementation

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
2013-04-18  Alexandre Rocha  <a.rocha@samsung.com>
Created parameters validation on WCLKernel getWorkGroupInfo

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
Change WCLKernel setArgs implementation

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
2013-04-19  Afonso R. Costa Jr.  <afonso.costa@samsung.com>

        Update code style for Layout and Stress Tests.

        Reviewed by NOBODY (OOPS!).

        * webcl/tests/webcl-kernel-result.html:
        * webcl/tests/webcl-stress-buffer.html:
        * webcl/tests/webcl-stress-context.html:
        * webcl/tests/webcl-stress-event.html:
        * webcl/tests/webcl-stress-image.html:
        * webcl/tests/webcl-stress-kernels-one-device.html:
        * webcl/tests/webcl-stress-nkernels.html:
        * webcl/tests/webcl-stress-program.html:
        * webcl/tests/webcl-stress-queue.html:
        * webcl/tests/webcl-stress-sampler.html:
        * webcl/tests/webcl-test-arg-types-const.html:
        * webcl/tests/webcl-test-consts.html:
        * webcl/tests/webcl-test-devices-sharing-single-context.html:
        * webcl/tests/webcl-test-event.html:
        * webcl/tests/webcl-test-instanceof.html:
2013-04-18  Diego Pinheiro  <diego.qp@samsung.com>

        Implement WCLBuffer in WebCLProxy.

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
2013-04-19  Diego Pinheiro  <diego.qp@samsung.com>

        Implement WCLCommandQueue.
        Change the structure of native objects;
        Make the dummykernel works.

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
Created new way to set Kernel arguments
2013-04-22  Alexandre Rocha  <a.rocha@samsung.com>

        Created new methods and objects on WebCLTestUtils to pass kernel args

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js:
        * webcl/resources/webcl-test-utils.js:
Code style revision with jslint
2013-04-22  Alexandre Rocha  <a.rocha@samsung.com>

        Changes in code style

        Reviewed by NOBODY (OOPS!).

        * webcl/resources/webcl-proxy.js: