2013-02-18  Igor Oliveira  <igor.o@sisa.samsung.com>

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

        Reviewed by NOBODY (OOPS!).

        This patch gets rid of the WebCLDeviceList. Additionaly it fixes a
        mistake in the sequence bindings generation.

        * DerivedSources.make:
        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext):
        * Modules/webcl/WebCL.h:
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::getInfo):
        (WebCore::WebCLContext::createCommandQueue):
        * Modules/webcl/WebCLContext.h:
        (WebCore):
        (WebCLContext):
        (WebCore::WebCLContext::createCommandQueue):
        * Modules/webcl/WebCLContext.idl:
        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::create):
        (WebCore::WebCLContextProperties::~WebCLContextProperties):
        (WebCore::WebCLContextProperties::WebCLContextProperties):
        (WebCore::WebCLContextProperties::platform):
        (WebCore::WebCLContextProperties::devices):
        (WebCore::WebCLContextProperties::deviceType):
        (WebCore::WebCLContextProperties::shareGroup):
        (WebCore::WebCLContextProperties::hint):
        * Modules/webcl/WebCLContextProperties.h:
        (WebCLContextProperties):
        * Modules/webcl/WebCLContextProperties.idl: Removed.
        * Modules/webcl/WebCLDevice.cpp:
        (WebCore):
        (WebCore::toWebCLDeviceArray):
        * Modules/webcl/WebCLDevice.h:
        (WebCore):
        * Modules/webcl/WebCLDevice.idl:
        * Modules/webcl/WebCLDeviceList.cpp: Removed.
        * Modules/webcl/WebCLDeviceList.h: Removed.
        * Modules/webcl/WebCLDeviceList.idl: Removed.
        * Modules/webcl/WebCLGLObjectInfo.h:
        * Modules/webcl/WebCLGetInfo.cpp:
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore::WebCLGetInfo::getWebCLDeviceList):
        * Modules/webcl/WebCLGetInfo.h:
        (WebCore):
        * Modules/webcl/WebCLKernelArgumentTypes.h:
        * Modules/webcl/WebCLPlatform.cpp:
        (WebCore::WebCLPlatform::getDevices):
        * Modules/webcl/WebCLPlatform.h:
        (WebCLPlatform):
        (WebCore::WebCLPlatform::getDevices):
        * Modules/webcl/WebCLPlatform.idl:
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::getInfo):
        (WebCore::WebCLProgram::build):
        * Modules/webcl/WebCLProgram.h:
        (WebCore):
        (WebCLProgram):
        (WebCore::WebCLProgram::build):
        * Modules/webcl/WebCLProgram.idl:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::createContext):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::toJS):
        * bindings/js/JSWebCLProgramCustom.cpp:
        (WebCore::JSWebCLProgram::build):
        * bindings/scripts/CodeGeneratorJS.pm: We should get element by element
        from array.
        (GenerateHeader):
        (GenerateImplementation):
        (JSValueToNative):

Examples:

        * WebCL/Deform/SimCL.js:
        (InitCL):
        * WebCL/Hello/index.html:
        * WebCL/Nbody/SimCL.js:
        (GetWorkGroupSize):