[webkit-qt] QT WebGL Nightly

Chinmaya Sn chinmaya at gmail.com
Wed Mar 10 21:48:36 PST 2010


If accelerated-compositing disabled, the following check will fail, and 3d
context
will always be null.

in HTMLCanvasElement::getContext
if (settings && settings->webGLEnabled() &&
settings->acceleratedCompositingEnabled())

I think this got added recently (2days back, March 8th) svn at 55685,
git at 426eeaedf945925ab9a2c333cabb2a14a7a85b7b


On Wed, Mar 10, 2010 at 9:26 PM, <noam.rosenthal at nokia.com> wrote:

>  Hi chinmaya sn
> WebGL currently only works with accelerated-compositing disabled (we still
> haven't connected the two together; hope to do that next week), and webkit
> needs to be built with --3d-canvas.
> Ensuring those two steps worked on my machine.
> Cheers,
> No'am
>
>
>  ------------------------------
> *From:* webkit-qt-bounces at lists.webkit.org [mailto:
> webkit-qt-bounces at lists.webkit.org] *On Behalf Of *ext Chinmaya Sn
> *Sent:* Thursday, March 11, 2010 1:19 PM
> *To:* webkit-qt at lists.webkit.org
> *Subject:* [webkit-qt] QT WebGL Nightly
>
> Hi,
>
> I tried WebKit nightly to test out QT+WebGL, I don't seems to get it to
> work.
>
> I changed code in couple of place (qwebsettings.cpp and Platform.h) just to
>
> ensure webgl and accelerated composting were enabled. Still no luck.
>
> For some reason, when paint happens on HTMLCanvasElement,
> either 2dcontext->paintingDisabled() is true or m_context->is3d() is false.
>
> So everything except 3d canvas get painted in the page.
>
>
> And any insight into whats happening?
>
> Has anyone got Qt+WebGL to run? Any suggestion to get it to work?
>
>
> Thank you
> --
> chinmaya sn
>
>


-- 
--
chinmaya sn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100310/91b3e3be/attachment.html>


More information about the webkit-qt mailing list