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) s...@55685, g...@426eeaedf945925ab9a2c333cabb2a14a7a85b7b On Wed, Mar 10, 2010 at 9:26 PM, <[email protected]> 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:* [email protected] [mailto: > [email protected]] *On Behalf Of *ext Chinmaya Sn > *Sent:* Thursday, March 11, 2010 1:19 PM > *To:* [email protected] > *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
_______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
