2013-02-18  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Remove dead enum values from WebCL.idl
        Issue #119

        Reviewed by Igor.

        CHAR_BUFFER_SIZE, DEFAULT_OBJECT_{CHANNELORDER,CHANNELTYPE,WIDTH,
        HEIGHT,ROWPITCH} are gone.

        * Modules/webcl/WebCL.idl:
2013-02-19  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLContext::getInfo(CONTEXT_PROPERTIES, ...) has a wrong return value
        Issue #124

        Reviewed by Igor.

        Patch essentially fixes the return value of WebCLContext::getInfo(CONTEXT_PROPERTIES).
        However, for that, it reimplements the way context's properties are queried: previously
        they were queried from CL directly. Now, instead, it caches a WebCLContextProperty object
        at WebCLContext creation, and return the appropriated 'info' when asked.

        Patch had to change WebCLContextProperty to take ownership of
        passed-in elements, in order to hold its reference.

        Patch fixes some driven-by includes/forward-declaration messes.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore):
        (WebCore::WebCLContext::WebCLContext):
        (WebCore::WebCLContext::ensureCachedContextProperties):
        (WebCore::WebCLContext::getInfo):
        * Modules/webcl/WebCLContext.h:
        (WebCore):
        (WebCLContext):
        * Modules/webcl/WebCLContextProperties.cpp:
        (WebCore::WebCLContextProperties::WebCLContextProperties):
        (WebCore::WebCLContextProperties::setPlatform):
        (WebCore::WebCLContextProperties::setDevices):
        (WebCore::WebCLContextProperties::setDeviceType):
        (WebCore::WebCLContextProperties::setShareGroup):
        (WebCore::WebCLContextProperties::setHint):
        (WebCore::WebCLContextProperties::platform):
        (WebCore):
        (WebCore::WebCLContextProperties::devices):
        (WebCore::WebCLContextProperties::deviceType):
        (WebCore::WebCLContextProperties::shareGroup):
        (WebCore::WebCLContextProperties::hint):
        * Modules/webcl/WebCLContextProperties.h:
        (WebCore):
        (WebCore::WebCLContextProperties::~WebCLContextProperties):
        (WebCLContextProperties):
        * Modules/webcl/WebCLContextProperties.idl:
        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo):
        * Modules/webcl/WebCLGetInfo.cpp:
        (WebCore):
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore::WebCLGetInfo::getWebCLDeviceList):
        (WebCore::WebCLGetInfo::getWebCLMemoryObject):
        * Modules/webcl/WebCLGetInfo.h:
        (WebCore):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::toJS):
2013-02-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Unreviewed build fix after ff0f1f5fb62

        * bindings/js/JSWebCLCustom.cpp:
        (WebCore::JSWebCL::createContext):
2013-02-19  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Fix WebCLDevice::getInfo(DEVICE_PLATFORM)
        Issue #126

        Reviewed by Igor.

        It needs to return a WebCLPlatform object, not a String.

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo):
        * Modules/webcl/WebCLGetInfo.cpp:
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore::WebCLGetInfo::getWebCLPlatform):
        * Modules/webcl/WebCLGetInfo.h:
        (WebCore):
        * Modules/webcl/WebCLPlatform.h:
        (WebCore):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::toJS):
2013-02-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        WebCLDevice::getInfo returns wrong value for DEVICE_{AVAILABLE,ENDIAN_LITTLE,HOST_UNIFIED_MEMORY}
        Issue #127

        Reviewed by Igor.

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo):