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

Won J Jeon wjjeon at gmail.com
Mon May 2 11:32:32 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110502/ef8d0508/attachment.html>


More information about the webkit-dev mailing list