2013-02-04  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLDevice::getInfo needs to support all flags mentioned in spec.
        Issue #107

        Reviewed by Antonio & Igor.

        Add support for DEVICE_VERSION getInfo.
        Implementation for DEVICE_MAX_WORK_ITEM_SIZES case to avoid exceptions.
        Remove DEVICE_DOUBLE_FP_CONFIG and DEVICE_HALF_FP_CONFIG as they are invisible in
        webcl as per specification.
        Also replace fetch all the OpenCL constants (like DEVICE_VERSION) from WebCL.idl
        & WebCL.h.

        No new tests.

        * Modules/webcl/WebCL.h: Add DEVICE_VERSION and DEVICE_MAX_WORK_ITEM_SIZES constants.
        * Modules/webcl/WebCL.idl:  Add DEVICE_VERSION and DEVICE_MAX_WORK_ITEM_SIZES constants.
        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::getInfo): Add DEVICE_VERSION and impliment DEVICE_MAX_WORK_ITEM_SIZES in proper way.
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::computeDeviceInfoTypeToCL): Add DEVICE_MAX_WORK_ITEM_SIZES and DEVICE_VERSION to computeDeviceInfoTypeToCL.
2013-02-04  Sharath Kamath  <kamath.sharath@gmail.com>

        WebCLMemoryObject::getInfo must also support all associated flags.
        Issue #83

        Reviewed by Antonio.

        The flags MEM_FLAGS ,MEM_ASSOCIATED_MEMOBJECT, MEM_OFFSET needs to be supported and
        the suport for CL_MEM_HOST_PTR and CL_MEM_MAP_COUNT must be revocked as per specification.

        Also add suport for WebCLMemoryObject to WebCLGetInfo class.

        No new tests.

        * Modules/webcl/WebCLGetInfo.cpp:
        (WebCore::WebCLGetInfo::WebCLGetInfo):
        (WebCore):
        (WebCore::WebCLGetInfo::getWebCLMemoryObject):
        * Modules/webcl/WebCLGetInfo.h:
        (WebCore):
        * Modules/webcl/WebCLMemoryObject.cpp:
        (WebCore::WebCLMemoryObject::getInfo):
        * bindings/js/JSWebCLCustom.h:
        (WebCore::toJS):
        * platform/ComputeTypes.h: