[webkit-qt] QT WebGL Nightly

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Wed Mar 10 21:58:14 PST 2010


Hmm, this is news to me.
In that case bug 35388, when we get around to it, should fix that issue. As I said, hopefully we'll get to it by end of next week.
No'am

________________________________
From: ext Chinmaya Sn [mailto:chinmaya at gmail.com]
Sent: Thursday, March 11, 2010 2:49 PM
To: Rosenthal Noam (Nokia-D-Qt/RedwoodCity)
Cc: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] QT WebGL Nightly

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<mailto: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> [mailto: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<mailto: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/20100311/162875b0/attachment.html>


More information about the webkit-qt mailing list