[webkit-qt] [QtWebKit] Issues with WebGL on top of DirectFBGL

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Tue Oct 18 07:25:50 PDT 2011


Hi David
I hope one of the WebGL implementors (Andrew / Jarkko) would be able to answer this better…

> - have you ever experienced corruptions between the main context and the webgl context when accelerated compositing is used ?
Not in my experience.


> - have you considered using a QGLPixelBuffer instead of a QGLWidget for WebGL ? If yes why did you choose the latter ?
I think QGLWidget was a bit more straightforward - you just share the context with the parent and use an FBO. For most use cases this does not cause drawing issues.
It's probably possible to implement this with a pixel buffer as well - though how would that work in a cross process environment? Right now my thoughts for WebKit2 are to either use EGL images (with Mesa for desktop) or streamline GL commands to the UI process.



More information about the webkit-qt mailing list