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

Won J Jeon wjjeon at gmail.com
Mon May 2 16:22:03 PDT 2011


Dear Ossy,

Thanks for the update. BTW, is there any switch that I need to turn on in
order to enable WebGL support with QT port?

I built the code by using '--3d-canvas --3d-rendering' switches and launched
QtTestBrowser by using 'run-launcher'.
However, when I access the WebGL page, it says 'It doesn't appear your
computer can support WebGL'.
I already double-checked that WebGL works with chromium on my Ubuntu
desktop.

Regards,
Won

2011/5/2 Osztrogonac Csaba <oszi at inf.u-szeged.hu>

> Hi,
>
> Sorry for the inconvenience, I fixed it:
> http://trac.webkit.org/changeset/85526
> Unfortunately this code path isn't guarded by buildbot now.
>
> br,
> Ossy
>
> Won J Jeon írta:
>
>  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/f4618caa/attachment.html>


More information about the webkit-dev mailing list