2013-03-06  Igor Oliveira  <igor.o@sisa.samsung.com>

        For our own sake, WebCL objects should create opencl objects internally.
        Issue #145

        Move WebCLProgram creation machinery from WebCLContext to WebCLProgram::create.
        Additionaly, fix WebCLProgram::getInfo method.

        Reviewed by Antonio Gomes.

        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createProgram):
        * Modules/webcl/WebCLKernel.cpp:
        (WebCore::WebCLKernel::getInfo):
        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::create):
        (WebCore::WebCLProgram::WebCLProgram):
        (WebCore::WebCLProgram::getInfo):
        * Modules/webcl/WebCLProgram.h:
        (WebCLProgram):
2013-03-06  Igor Oliveira  <igor.o@sisa.samsung.com>

        WebCLType::create should not return CCerror
        Issue #151

        if WebCLBuffer::create fails, it returns should return a
        ExceptionCode instead of a CCerror.

        Reviewed by Antonio Gomes.

        * Modules/webcl/WebCLBuffer.cpp:
        (WebCore::WebCLBuffer::create):
        (WebCore::WebCLBuffer::createFromGLBuffer):
        * Modules/webcl/WebCLBuffer.h:
        (WebCLBuffer):
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::createBuffer):
        (WebCore::WebCLContext::createFromGLBuffer):