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

Osztrogonac Csaba oszi at inf.u-szeged.hu
Mon May 2 15:08:18 PDT 2011


Sorry for the inconvenience, I fixed it: http://trac.webkit.org/changeset/85526
Unfortunately this code path isn't guarded by buildbot now.


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

More information about the webkit-dev mailing list