On Saturday 01 March 2014, Jori Liesenborgs wrote:
> Hi everyone,
> 
> I was wondering if someone knows how to avoid copying the view from a
> WebGL component to the CPU each time. On [1] it says to use a
> QGraphicsWebView with a QGLWidget viewport, but if I try this the result
> seems to be even slower than the more naive version.
> 
It should work. What version of Qt are you using?  There was a regression in 
Qt 5.1 that could trigger if you build against EGL instead of OpenGL. This 
would cause CPU copying on every frame. In Qt 5.2 though, QGraphicsWebView 
should always render directly to the QGLWidget, if using accelerated 
compositing is enable and a Qt GL context was found.

Regards
`Allan Jensen
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to