[webkit-dev] How to enable WebGL on WebKit QT port?

Won J Jeon wjjeon at gmail.com
Mon May 2 13:39:06 PDT 2011


Dear David,

Thanks for your response. However, my code base is r85509 and even with the
code changes that you mentioned, I got the same error message. Any idea?

Regards,
Won


On Mon, May 2, 2011 at 11:37 AM, David Levin <levin at chromium.org> wrote:

> It looks like there need to be a few build fixes in that code due to recent
> changes in the code.
>
> See http://trac.webkit.org/changeset/85343 for the types of changes to be
> done.
>
> Then feel free to submit a patch to fix this for others --
> http://www.webkit.org/coding/contributing.html
>
> dave
>
>
>
> On Mon, May 2, 2011 at 11:32 AM, Won J Jeon <wjjeon at gmail.com> wrote:
>
>> I tried to build a WebKit QT port with WebGL support by enabling
>> '--3d-canvas' and '--3d-rendering' (--no-accelerated-2d-canvas by default)
>> but it has the following error on GraphicsContext3DQt.cpp:
>>
>> ../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp: In
>> constructor
>> ‘WebCore::GraphicsContext3D::GraphicsContext3D(WebCore::GraphicsContext3D::Attributes,
>> WebCore::HostWindow*, bool)’:
>> ../../../Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp:617:
>> error: no matching function for call to
>> ‘WTF::OwnPtr<WebCore::GraphicsContext3DInternal>::OwnPtr(WebCore::GraphicsContext3DInternal*)’
>> ../../../Source/JavaScriptCore/wtf/OwnPtr.h:57: note: candidates are:
>> WTF::OwnPtr<T>::OwnPtr(const WTF::OwnPtr<typename
>> WTF::RemovePointer<T>::Type>&) [with T = WebCore::GraphicsContext3DInternal]
>> ../../../Source/JavaScriptCore/wtf/OwnPtr.h:48: note:
>> WTF::OwnPtr<T>::OwnPtr() [with T = WebCore::GraphicsContext3DInternal]
>> make[1]: *** [obj/release/GraphicsContext3DQt.o] Error 1
>>
>> Is there any other steps that I need to follow in order to make WebGL
>> working?
>>
>> Regards,
>> Won
>>
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110502/38bd36cd/attachment.html>


More information about the webkit-dev mailing list