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

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

        Reviewed by NOBODY (OOPS!).

        Add support for DEVICE_VERSION getInfo.
        Implimentation 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 ComputeContext.

        No new tests (OOPS!).

        * 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>

        Remove PROGRAM_BINARY_SIZES & PROGRAM_BINARIES  support from getInfo API.
        Issue #108

        Reviewed by NOBODY (OOPS!).

        Currently getInfo supports PROGRAM_NUM_DEVICES ,PROGRAM_SOURCE, PROGRAM_CONTEXT,
        PROGRAM_DEVICES, PROGRAM_BINARY_SIZES and PROGRAM_BINARIES flags.
        The flags PROGRAM_BINARIES and PROGRAM_BINARY_SIZES are not supported as per specification.

        https://cvs.khronos.org/svn/repos/registry/trunk/public/webcl/spec/latest/index.html#2.11

        No new tests (OOPS!).

        * Modules/webcl/WebCL.h:
        * Modules/webcl/WebCL.idl:
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::getInfo): Also add a proper error for default case.
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp: Remove PROGRAM_BINARY_SIZES & PROGRAM_BINARIES.
        (WebCore::computeProgramInfoTypeToCL):